Choose where the agent may appear
Open the agent’s Share & embed page and select its website channel. Under Allowed websites, list the hostnames where the embed should load. Use the actual hostnames for your intended destinations, including a staging site if you need to test there. The editor supports a wildcard such as*.example.com for subdomains.
An empty list allows any website to add the agent. Restrict the list when you want the embed limited to your own sites, then save and publish the setting. The agent’s share link works separately; the allowed-websites list controls embeds and does not make that link private. Treat the link and the information the agent can disclose accordingly.
Install the code
- Publish the agent. An unpublished agent cannot load on a visitor’s site.
- In Share & embed, find Put it on your site and copy the generated embed code. The page includes installation directions for common site platforms and a general HTML option.
- Add the code using your site’s supported custom-code mechanism. For a plain HTML site, the provided instructions place the launcher code before the closing body tag, or in a shared footer or layout.
- Save and publish or deploy the host site according to its own workflow. Check the page that visitors actually use, not just the site’s editor preview.