Website Embed
Center Stage
Install Center Stage — an “Ask AI” box at the bottom center of your page with a Cmd/Ctrl+K shortcut — on its own or next to the chat widget.
Center Stage is a message box pinned to the bottom center of the page. When a visitor types, the chat opens large in the middle, above it. It has its own install code and config object, so it can run on the same page as the Chat Widget.
Install code
Copy it from Deploy › Center Stage:
<link rel="stylesheet" href="https://widget.assistrio.com/assistrio-chat.css" />
<script>
window.AssistrioCenterStageConfig = {
agentId: "YOUR_AGENT_ID",
apiBaseUrl: "https://chat.assistrio.com"
};
</script>
<script src="https://widget.assistrio.com/assistrio-chat.js" async></script>If the page already has the Chat Widget install code, keep it. Both install codes load the same script; the second copy reuses the first instead of loading twice.
- Center Stage has its own on/off switch at the top of Deploy › Center Stage. Turning it off doesn't affect the Chat Widget.
- By default Center Stage uses the Chat Widget's Allowed websites (Same as Chat Widget). Turn that off to give Center Stage its own list.
Open it from your own button
<button data-assistrio-center-stage>Ask AI</button>Visitors can press Cmd/Ctrl + K to open or close Center Stage, and Esc to close it. From code, use window.AssistrioCenterStage.open() — see the JavaScript API.
Was this page helpful?
Need help? Contact support — we reply within one to two business days.
