Accessing your Bot ID and Widget Script
To get your chatbot up and running on your website or integrated with your systems, you'll need to locate a few specific credentials. This guide will walk you through where to find them and which ones you need.
Where to find your credentials
You can find your unique identifiers by navigating through the sidebar menu:
-
Click on Chat widget in the left-hand menu.
-
Select Settings from the submenu.
-
Your Bot-id and Widget Script are located in the Information section at the top of the page.
Which option should I use?
Depending on your goal, you will need either the Widget Script or the Bot ID.
Option A: Adding the chat to a website
If you want the Ebbot chat bubble to appear on your website, use the Widget Script. This code handles both the user interface and the connection to our servers.
How to install it:
-
Find the code box starting with
<script>. -
Click the copy icon in the top-right corner of the code box.
-
Paste the code into your website's HTML, specifically inside the
<body>tag.
Option B: Custom integrations and APIs
If you are building a custom interface, connecting Ebbot to a mobile app, or using our APIs, you will likely need the Bot-id.
How to find it:
-
Locate the field labeled Bot-id at the top of the page.
-
Copy the alphanumeric string (e.g.,
eb264dk2...).-
Note: While the Bot-id is the primary identifier for your bot, additional configuration or credentials may be required depending on your specific integration and security architecture.
-
For IT Teams: Security & CSP
If your website uses a Content Security Policy (CSP), the chat may be blocked unless the necessary domains are whitelisted.
You can find the specific requirements in the CSP-info section at the bottom of the Settings page. Provide these details to your IT or Web security team to ensure a smooth deployment.
Quick Checklist
Before you go live, double-check the following:
-
Correct Identifier: Ensure you are using the Script for web deployments or the Bot ID for custom integrations.
-
Accuracy: When copying the Bot ID, ensure no extra spaces are included.
-
Script Placement: Confirm the script is placed within the
<body>tag as specified. -
Security: If the chat does not appear, verify that your CSP settings allow the Ebbot domains.