Embed the widget
Production embed instructions will mirror your live embed.js endpoint.
Mock script tag
<script async src="/api/widget/{uuid}/embed.js"></script>
<div id="convia-widget-root"></div>Notes
- Replace {uuid} with the agent key from Dashboard.
- Mock: document CSP allowances for websocket + streaming origins.
- Mock: SSR-friendly defer strategy for legacy stacks.