Install the chat widget on your website
Find your widget script and bot ID in Ebbot App and add the chat to your website.
Know what you need
You find two things in Ebbot App:
- Widget script: the code that shows the chat widget on your website. Use it for a normal website.
- Bot-id: the unique ID of your bot. Use it for your own integrations, a mobile app or the APIs, and when another system, for example SharePoint, asks for it.
Add the chat widget to your website
🚀 Let's get started:
- Check that the right bot is selected in the bot picker at the top left of Ebbot App. It shows the name of the selected bot. The script belongs to the bot that is selected.
- Go to Chat widget → Settings.
- Find the Information section at the top of the page.
- Click the copy icon at the top right of the code box with the script.
- Paste the script into the HTML of your website, inside the
<body>tag. Add it to every page where the chat should show, or to a template that all pages use. - Publish the change on your website and open the page in a new browser window.
Copy the bot ID
- Go to Chat widget → Settings.
- Find Bot-id in the Information section.
- Copy the ID. Check that you don't copy a space before or after it.
Check before you go live
- Right code: the script for a website, the bot ID for your own integrations.
- Right bot: the bot that is selected in Ebbot App when you copy the script.
- Right place: the script is inside the
<body>tag. - Security settings: if your website uses a Content Security Policy (CSP), the Ebbot domains must be allowed. Your IT team finds them in the CSP-info section at the bottom of Chat widget → Settings.
If the chat doesn't show after this, see "Fix a chat widget that doesn't show on your website".
Use other ways to show the chat
- Inside the page: by default the widget is a floating chat bubble. You can instead show the chat inside your page layout, for example in a hero section. See Implement Chat Widget on docs.ebbot.ai.
- SharePoint: use the Ebbot web part. See Adding the Ebbot Widget to a SharePoint Environment.
- Several subdomains: to keep the same chat when the user moves between subdomains, see Subdomain Manager for Chat.
💡 Pro-Tip
Install the script on a test page first and check the widget on both desktop and mobile. Then add it to the rest of the website.