Skip to Content
May 29, 2019 at 05:59 PM

Use CAI's Webchat connector in a react application


I am trying to implement a chatbot in a react application. Although I have already done multiple chatbots applications (html5), none of them were using react, so I decided to follow the documentation found here.

It says that you can simply

import CaiWebchat from 'webchat';

But it does not explain how to get the 'webchat' package (it's not in NPM), and cloning / trying to import from source does not seem to work.

This is all the documentation available. How could I do this implementation so I can get access to the webchat component from within my react app?