- install npm package:
npm install botxo-webchat
- import package to you project (
import botxo from 'botxo-webchat'
orvar botxo = require('botxo-webchat')
) - embed the script
botxo({
id: 3,
buttonColor: '#ff6f4c'
});
- id: id of bot deployment (required)
- buttonColor: hex value (optional)