Quick Start
Add the following script tag to your HTML, just before the closing</body> tag:
YOUR_ASSISTANT_ID with the assistant ID from your IllumiChat dashboard (Settings > Widget on the assistant page).
Framework Guides
Local Development
When developing locally, point the script at your local dev server:The local widget script is served from the Next.js dev server. Make sure you have run
pnpm dev before loading the page.Domain Restrictions
For security, widgets can be restricted to load only on specific domains. If domain restrictions are enabled and your domain is not on the list, the widget will not render. To configure allowed domains:- Open your assistant’s Settings page
- Go to the Widget tab
- Under Allowed Domains, add each domain where the widget should work
- Save your changes
Verifying the Installation
After adding the script tag:- Open your page in a browser
- Look for the chat bubble in the bottom-right corner
- Click it to open the chat panel
- Send a test message to confirm the assistant responds