Deploy the chat widget
Embed an agent as a chat bubble or iframe and protect the live widget with an allowed-domain list.
Open Deploy to copy an agent-specific embed. The Chat Widget snippet loads embed.js and passes the agent’s public ID; it provides the advanced widget features. Copy the snippet generated by your dashboard because its origin is environment-specific. Install it in the shared layout or footer used by real visitor pages, then verify that the script loads, window.agentstack is defined, and the bubble opens a working chat panel.
The Iframe option embeds the chat interface directly. It does not support the window.agentstack API, identity verification, or client-side actions, so choose the bubble embed when you need those features. A private or pending-deletion agent deliberately does not render through the public embed; make the agent public before expecting a live widget.
Use Allowed domains to restrict embedding. Leave it empty for unrestricted embedding, or enter one bare hostname per line. A hostname covers its subdomains; do not use https://, paths, ports, or *.example.com, which do not match. Test on the final production hostname after saving rather than relying on a local preview.