Embed Widget on Your Website
Add the VNBOT chatbot to any website with just a small script snippet.
Video guide coming soon
Steps6 steps
Open Channels
From the Dashboard, select "Channels" (Pages) in the left navigation bar.
Select "Embed on Website"
Click "Connect channel" in the top-right corner, then choose "Embed on Website" from the platform list.
Name your channel and generate the embed code
Give this website channel a name (e.g. "ABC Store"), then click "Generate embed code". The system creates a script snippet unique to your website.
Copy the script
Click "Copy" to copy the full script to your clipboard. The script is unique to your website channel and contains your embed token.
<script src="https://vnbot.vn/webchat.js" data-token="YOUR_TOKEN"></script>Paste the script into your website
Paste the script once into the closing </body> tag of your root layout. The exact location depends on your platform:
Verify the widget appears
Reload your website. The chat widget appears in the bottom-right corner (or left if configured). Click it to send a test message.
Was this page helpful?