npm install react-customerly --save
or
yarn add react-customerly
import { customerly } from 'react-customerly';
customerly.initialize("app_id",{ widget_position: "right" ,widget_color:'FF00FF'});
app_id
: Stands for the ID (project ID or App ID) provided by Customerly to config the Live Chat on your website - (the only required param).
You can easily control all the other params like position and color of the widget and any other supported param from Customerly as well.
To learn more about the custom params, access the link:
- How to control the live chat widget custom features of Customerly docs.