Widget embed
import { Aside } from “@astrojs/starlight/components”;
Add this single line to your website’s footer (replace {customer-fa-host} with your Function App hostname):
<script src="https://{customer-fa-host}/api/widget.js" async></script>A small chat bubble appears in the bottom-right corner. Click it; the widget opens.
Allowed origins
The widget will only load on origins listed in your stack’s ALLOWED_ORIGINS setting (set during the wizard). To update the list, re-run the deploy wizard from the Marketplace Change plan blade with new origins. See Allowed origins.