
Generate the Chat Bubble embed from the agent’s Deploy section and install it on a staging page. Add the intended hosts to the widget’s domain restrictions where appropriate. Test a real conversation path on phone and desktop before placing the embed on the production site.
Install one embed and check the host you intended
Open the agent’s Deploy section and choose Chat Bubble. BerryDesk displays embed options, including a script and an iframe. Copy the code from the intended staging agent. Paste it into one test page, and verify only one instance is inserted after your site builder or tag manager runs.
Apply your domain restrictions to the correct hosts. Check the exact staging hostname, eventual production hostname, and an unauthorized test host. If the widget fails to load on an allowed host, inspect the browser console for a specific script or frame policy error. Review the smallest changes your site policy needs and avoid broadly turning off CSP.
On a narrow phone viewport, open and close the bubble, navigate using the keyboard, and test a complete low-risk conversation. Verify the widget does not cover the site’s essential navigation or another persistent button. Test with the same consent and privacy configuration the production page uses.
Run these synthetic pilot cases
| Scenario | Expected state | Expected response |
|---|---|---|
| Allowed staging host | Widget loads and is interactive | Complete an FAQ question and record load behavior. |
| Unapproved test host | The configured domain restriction applies | Verify the direct embed is not functional there. |
| Widget opens at narrow viewport | Launcher and close remain visible | Reach and close the panel with keyboard controls. |
| Agent cannot answer an eligible request | Human follow-up path is available | Verify the next step and whether the case reaches the intended queue. |
What to measure before rollout
Save browser, viewport, consent state, host, and outcome for each check. At launch, watch mobile interactions and compare successful answers and handoffs with the staging baseline. Keep the old install ready to restore if the new widget interferes with navigation.
Download the workflow pilot cases to record observed behavior beside the expected results.
Related guides
Documentation
Launch your AI agent in minutes
- Train on your docs, websites, Notion, Drive and YouTube
- Deploy to web, WhatsApp, Slack, Instagram and more
- No credit card required
Set up in minutes

