How to integrate dialogflow with website?

后端 未结 6 1702
星月不相逢
星月不相逢 2021-02-04 05:35

I created Intents, entities so and so using \'Dialogflow chat-bot\', Now,I\'m trying to integrate dialogflow with my website(html), I followed the documented instructions from

6条回答
  •  忘了有多久
    2021-02-04 05:59

    You should be able to customize the web-demo. If you look at the html of the web-demo you will notice that the content of the chatbot is inside an iframe tag. The iframe tag is basically an embedded page inside your current page. You can copy the content of this iframe tag with your project's dialogflow scr code into your website and customoze the style and html. You can also add a floating chat icon by javascript toggle-class to display the chatbot when the icon is clicked:

    
    

提交回复
热议问题