Based on the Twilio webchat client example here: https://github.com/twilio/flex-webchat-ui-sample
Twilio documentation for component customisation is here: https://www.twilio.com/docs/flex/developer/webchat/setup
- Install all dependencies by running:
npm install
- Start Flex webchat UI by running:
npm start
- Clone this repo to your development environment and
cd
into the repo root - Run
npm install
- Run the build script
npm run build
this will add abuild
to the project root - Copy the two script files in
build/assets
and include them in your site (refer topublic/index.html
and the comments for guidance on what is required) - Add the following element before the closing body tag of your site's base template
<div id="webchat-root"></div>
- 🎉