@kommunicate/kommunicate-chatbot-plugin
v0.0.7
Published
A npm plugin for kommunicate chat widget.
Downloads
845
Readme
kommunicate-chatbot-plugin
A npm plugin for kommunicates' chat widget.
Install
npm i @kommunicate/kommunicate-chatbot-plugin
Usage
In your index.js file,
- Import the widget as Kommunicate.
- Add
Kommunicate.init("YOUR_APP_ID" , {...optionalSettings})
outsideReactDOM.render()
- Replace YOUR_APP_ID with APP_ID provided to you by Kommunicate. You can get your APP_ID from here
import Kommunicate from '@kommunicate/kommunicate-chatbot-plugin';
Kommunicate.init("YOUR_APP_ID" , {...optionalSettings})
ReactDOM.render(
...
<App />
...
document.getElementById('root')
);