Widget Embed
Last updated
Was this helpful?
Settings → Widget Embed manages keys for the embeddable AI chat widget you can drop onto any website — a floating chat bubble that lets visitors talk to one of your AI agents without logging in.
The widget brings PeakCommerce's conversational AI to pages you don't host inside the platform — a marketing site, a help center, a landing page. Visitors can ask product inquiries, get support, and take commerce actions in the same chat, with no account required.
Create a widget key. Choose which AI agent powers it (the agent's instructions and tools define what the chat can do) and customize its appearance.
Copy the embed snippet — a small script tag scoped to that key.
Paste it into your site's HTML, just before the closing </body> tag.
Reload the page; the widget appears as a floating chat bubble.
Use separate keys for different sites or agents so you can tune behavior — or revoke one — independently.
Pick the agent deliberately: a support-focused agent and a sales/commerce agent give visitors very different experiences.
The key is embedded in public client-side HTML, so it is visible to anyone. It authorizes only the scoped widget chat — never reuse an API key here.
Visitors are unauthenticated, so the powering agent should expose only actions safe for anonymous users.
Removing or revoking the key disables the widget on every site using that snippet.
Last updated
Was this helpful?
Was this helpful?
