react-simple-chatbot
react-simple-chatbot copied to clipboard
How to integrate React chatbot with other applications / website?
@LucasBassetti
I have created a chatbot using React Simple Chatbot. Now, I want to integrate the same chatbot in our website (like, iframe integration).
Is there any way to do this?
I am also looking into something similar integrating a bot in a website rather than just a chat window.
I integrated the chatbot on my website through an iframe. Also I added dialogflow and dynamic option steps
I integrated the chatbot on my website through an iframe. Also I added dialogflow and dynamic option steps
Can you please guide us on this?
@spvalencia - Silvio, can you elaborate on how did you integrated DialogFlow and dynamic option steps? Also, can you provide a link to the page where you have your bot to see it in action?
@GilbertMizrahi
- Create an agent on dialogflow.com
- Integrate a webhook (I built an API in Node.js).
- I forked the react-simple-chatbot to support dynamic steps (You can see my fork).
- You can see an example here https://faq-johfas.firebaseapp.com/.
- You can ask for "Matriculas" and follow the conversation.
If you have more questions please, just let me know.
@spvalencia,
Hola Silvio, Gracias. In the example, I don't see how you are using DialogFlow. Except for the initial navigation in which I have to enter "Matriculas", the rest is just tree-based. Even "Matriculas" could be triggered without DailogFlow..
On the other hand, I was looking for your fork under your GitHub account and I don't see any public repositories. Can you provide a link?
@GilbertMizrahi
The bot is under construction.
You're right, for the moment only the initial request is integrated with DialogFlow, the rest comes from the API directly. But is easy continue with the flow.
@GilbertMizrahi
https://github.com/bongga-co/simple-chatbot-website
@spvalencia
Gracias Silvio