Widget snippet
After testing, add the widget script to your website and replace the agent ID with the public ID shown in your dashboard.
<script async src="https://lunao.ai/widget.js" data-agent="AGENT_PUBLIC_ID"></script>Where to place it
Install the script on pages where visitors need help. Most teams start site-wide, then adjust if a specific section needs a different agent or handoff rule.
- Theme footer
- Tag manager
- Site builder custom code area
- Custom app layout
Troubleshooting
If the widget does not appear, verify the script URL, the agent public ID, content security policy rules, and whether the page blocks third-party scripts.
