What it is
The chat widget is a small embeddable script. It loads a floating launcher bubble on your site. You can also use the iframe embed if you want the chat interface to appear inline on a page. The dashboard gives you the exact setup snippet for the selected agent.When to use it
Use the chat widget when:- visitors need quick answers while browsing your site
- you want a low-friction support option before opening a ticket
- you want a branded chat surface with your agent name, colors, icons, and intro message
- you can paste a script tag or iframe into your website
Set it up
1
Open the agent
In the dashboard, choose your workspace and open the agent you want to embed.
2
Add context
Add at least one context source in Context.
3
Open Deploy
Open Deploy and choose Chat widget.
4
Review content
In Content, set the display name, initial message, escalated message, placeholder, optional notice text, and optional footer text.
5
Customize style
In Style, choose light or dark appearance, upload the profile image or chat icon, choose colors, and set the launcher alignment.
6
Copy the embed code
Open Embed, choose Chat widget or Iframe, then copy the setup instructions.
7
Install it on your site
Paste the script before the closing
</body> tag, or paste the iframe wherever the inline chat should appear.8
Return from the sidebar
After the widget is enabled, Chat widget remains in the agent sidebar so you can edit it without reopening Deploy.
Embed examples
Use the exact URLs shown in your dashboard. The examples below show the format.Chat widget
Iframe
How conversations work
The widget stores a visitor’s current chat in the browser. The visitor can send text and, if enabled, images or readable text files. Suppio sends conversation history with each message so answers stay grounded in the current chat. The widget keeps recent chat history in the visitor’s browser and sends the recent conversation to the agent. When Suppio resolves or escalates a widget conversation, the chat is closed for that conversation. The visitor must start a new chat to send another message.How escalations work
When the agent escalates from the widget, it returns your configured Escalated message and marks the conversation as escalated in Suppio usage logs.The widget does not automatically create a ticket in your external help desk. Use the API if you need to connect Suppio action signals to a custom ticketing workflow.
Settings and customization
Content settings
Content settings
Configure display name, initial message, escalated message, input placeholder, notice text, footer text, and attachment support.
Style settings
Style settings
Configure light or dark appearance, profile image, chat icon, primary color, header color usage, launcher bubble color, and left or right launcher alignment.
Embed type
Embed type
Choose the default floating Chat widget or the advanced Iframe embed.
Domain restrictions
Domain restrictions
Enable Only allow embedding on specific domains and add domains such as
example.com. Suppio allows the exact domain and subdomains of each allowed domain.Limits
- Up to 5 attachments per message.
- Attachment uploads are limited to 10 MB total per message.
- Readable text attachments are capped at 120,000 characters before they are sent to the agent.
- Images can be sent as image attachments when attachment support is enabled.
- Domain restrictions rely on browser origin or referrer headers. If they are missing and restrictions are enabled, the widget session is rejected.
Troubleshooting
The widget does not appear
The widget does not appear
Confirm the widget is enabled, the script URL uses the correct agent ID, and your site allows the script to load from the Suppio API host.
This domain is not allowed
This domain is not allowed
Open Chat widget > Embed, check whether domain restrictions are enabled, and add the site domain without
https:// or a path.Messages fail to send
Messages fail to send
Check that the agent has context, the workspace has credits, the widget is enabled, and the visitor is not hitting rate limits.
Attachments fail
Attachments fail
Confirm attachments are enabled and the files are within the 5-file and 10 MB limits.
