This guide will explain to you how to set up a custom demo page to showcase your chatbot as seen in this example: . This can be done using Glitch, where you can create apps in your browser for free.
1. Create a web widget in Chatlayer
Create a web widget with the configuration of your liking via Channels. Read more about that .
2. Create account on Glitch
Create an account on .
Create a new project and name it the way you want your link to be shown:
3. Create html page
Now click on the Index.html page in the left column. There, paste the following block of code between the two lines.
Pay close attention to:
Line 97: Use the link of the web widget in Chatlayer there
Replace 'onload='chatlayer()'' with 'onload="initChatlayer()'
Line 92: Please enter the name of your glitch web page here