Documentation Index
Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
Use this file to discover all available pages before exploring further.
The Web Calling widget puts your agent on your website. Visitors click the launcher, their browser connects over WebRTC, they’re talking to your agent. You set it up under Configure > Web Calling in Agent Studio: name, domain, environment, branding, copy, embed.The rest of these pages cover the four things you’ll actually do with the widget:
Configure
Brand it, write the welcome line, set the agent voice and disclaimer.
Install on your site
One script tag, paste before
</body>. Direct HTML or Tag Manager.Test your widget
Hosted preview link you can send to anyone, no login required.
Troubleshooting
Microphone, network, cross-tab lock, and other call-quality issues.
Before you start
- The web domain(s) where you’ll embed the widget.
- Access to your site’s HTML or your tag manager.
- A published variant in Sandbox or Live for the agent that’ll respond.
- An HTTPS site. Browsers block microphone access on insecure origins.
PolyAI widgets put your agent on your website in minutes. From Configure > Web Calling in Agent Studio, create a widget, brand it, copy the script tag, and ship it.Phone and Chat widgets share the same editor: same styling controls, same content fields, same embed flow. The widget type just determines whether visitors get a voice call or a text conversation.You can run both on the same site. Many teams ship a Phone widget on high-intent pages and a Chat widget elsewhere.
Pick a widget type
Phone widget (Web Calling)
Click-to-call voice on your website. Visitors talk to your agent directly in the browser over WebRTC. No number to dial, no app to install.
Chat widget (Webchat)
Text chat on your website. Visitors type to the same agent that answers your phone calls, with channel-specific styling and safety filters.
What’s the same, what’s different
Everything in the editor (widget name, website URL, variant, environment, agent name, primary color, disclaimer, and policy URLs) works the same way for both types.Chat widgets add a few extra editor fields the call card doesn’t need:- Header text and header image (logo).
- Agent avatar shown next to messages.
- Consent button (“I consent and start chat”) before the conversation starts.
- Bubble prompt style defaults (text and background color) for the speech bubble next to the launcher.
- Web Calling: call states, mic permission, cross-tab lock, and the
PolyphoneAPIreference. - Webchat: chat panel, suggestion chips, and the
WebchatAPIreference.
data-platform, data-render-mode, data-auto-open, data-show-icon, data-show-header), see Install on your site.Prerequisites
Before you create a widget you’ll need:- The web domain(s) where you’ll embed it.
- Access to your website’s HTML or your tag manager.
- A published variant for the agent that will respond.
- An HTTPS site. Required for Phone (microphone access), recommended for Chat.
Next steps
Configure widget
Brand it, write the copy, set up consent.
Install on your site
One script tag, live in minutes. Direct HTML or Tag Manager.
Test your widget
Hosted preview link for stakeholder review (Phone widgets).
Troubleshooting
Microphone, network, CSP, and rendering issues.

