Website Integration
/
Widget
Website Chat Widget Integration
Integrate our light-weight, highly customizable AI chat widget directly into your website. Automate customer support, capture visitor leads 24/7, and route complex requests to human agents.
1-Click Embed Script
Add the following script block to the <head> or just before the closing </body> tag of your website HTML:
<script
src="https://cdn.msgx.in/widget/v1/chat.js"
data-workspace-id="YOUR_WORKSPACE_ID"
data-theme="sky"
async></script>
Configuration Attributes
Customize the widget design and features using HTML5 dataset tags on the script block:
| Attribute | Default | Description |
|---|---|---|
| data-theme | sky |
Color theme: sky, emerald, amber, slate, or dark. |
| data-welcome-msg | Hi! 👋 Need help? |
Custom greetings printed when a visitor first opens the widget. |
| data-auto-open | false |
Automatically trigger the chat panel window open after N seconds. |