https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi, I’d like to enable the Web Call / Web Widget f...
# ❓・ai-evy-support
l
@AI Evy Hi, I’d like to enable the Web Call / Web Widget feature so I can share a public demo link for my agent.
a
Thanks for tagging me @liani_does. I'll look through relevant sources and get back to you shortly.
### Answer To enable the Web Widget feature for your Retell AI agent, you can use the Retell embeddable website widget [(1) ]() . The widget supports two modes: Chat Widget for text-based conversations and Callback Widget for phone-based conversations . For a public demo, you'll likely want the Chat Widget. Here's how to set it up: ## Prerequisites You'll need to create a chat agent and get your Retell Public Key and agent ID . ## Setup Add this script tag to your HTML within the
<head>
tag :
Copy code
html
<script
 id="retell-widget"
 src="<https://dashboard.retellai.com/retell-widget.js%22>
 type="module"
 data-public-key="YOUR_RETELL_PUBLIC_KEY"
 data-agent-id="YOUR_CHAT_AGENT_ID"
 data-agent-version="YOUR_AGENT_VERSION"
 data-title="YOUR_CUSTOM_TITLE"
 data-logo-url="YOUR_LOGO_URL"
 data-color="YOUR_CUSTOM_COLOR"
 data-bot-name="YOUR_BOT_NAME"
 data-popup-message="YOUR_POPUP_MESSAGE"
 data-show-ai-popup="true"
 data-show-ai-popup-time="5"
 data-auto-open="false"
 data-dynamic='{"key": "value"}'
 data-recaptcha-key="YOUR_GOOGLE_RECAPTCHA_SITE_KEY"
></script>
## Key Features - The chat widget displays a robot icon and opens a chat interface for text conversations - It uses the Retell public key system, allowing direct API calls from the frontend without needing a backend proxy - Chat sessions are automatically handled and persisted in localStorage ## Security Recommendations For public demos, it's highly recommended to enable reCAPTCHA to prevent bots from abusing your endpoints [(2) ]() . You can add Google reCAPTCHA v3 protection by including the reCAPTCHA script and adding the
data-recaptcha-key
attribute [(1) ]() . The widget is production-ready and customizable, making it perfect for sharing public demos of your agent .
​ To learn more, see the sources I considered: [[1] Retell Website Widget](https://docs.retellai.com/deploy/chat-widget) [[2] Prevent abuse](https://docs.retellai.com/reliability/prevent-abuse) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
l
i just want to send a demo link to a person for them to try out the agent, how can i do that?
@AI Evy i just want to send a demo link to a person for them to try out the agent, how can i do that?
a
Thanks for the follow-up, @liani_does. I'll get back to you soon.
### Answer Based on the documentation, to create a demo link for someone to try your agent, you'll need to create a simple HTML page with the Retell Chat Widget embedded [(1) ]() . Here's the simplest approach: 1. Create an HTML file with the chat widget script :
Copy code
html
<script
 id="retell-widget"
 src="<https://dashboard.retellai.com/retell-widget.js%22>
 type="module"
 data-public-key="YOUR_RETELL_PUBLIC_KEY"
 data-agent-id="YOUR_CHAT_AGENT_ID"
 data-agent-version="YOUR_AGENT_VERSION"
 data-title="YOUR_CUSTOM_TITLE"
 data-logo-url="YOUR_LOGO_URL"
 data-color="YOUR_CUSTOM_COLOR"
 data-bot-name="YOUR_BOT_NAME"
 data-popup-message="YOUR_POPUP_MESSAGE"
 data-show-ai-popup="true"
 data-show-ai-popup-time="5"
 data-auto-open="false"
 data-dynamic='{"key": "value"}'
 data-recaptcha-key="YOUR_GOOGLE_RECAPTCHA_SITE_KEY"
></script>
2. Host this HTML file on any web hosting service (GitHub Pages, Netlify, Vercel, etc.) 3. Share the URL - that becomes your demo link Prerequisites you'll need : - A chat agent created in your Retell dashboard - Your Retell Public Key (found in Dashboard → Keys → Public Keys) [(2) ]() - Your chat agent ID The widget is embeddable via a single
<script>
tag and uses the Retell public key system, allowing direct API calls from the frontend—no backend proxy required [(1) ]() . This makes it perfect for creating shareable demo links. For public demos, consider enabling reCAPTCHA protection to prevent abuse [(2) ]() .
​ To learn more, see the sources I considered: [[1] Retell Website Widget](https://docs.retellai.com/deploy/chat-widget) [[2] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.