liani_does
10/22/2025, 8:12 PMAI Evy
10/22/2025, 8:12 PMAI Evy
10/22/2025, 8:13 PM<head> tag :
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>AI Evy
10/22/2025, 8:13 PMdata-recaptcha-key attribute [(1) ]() .
The widget is production-ready and customizable, making it perfect for sharing public demos of your agent .AI Evy
10/22/2025, 8:13 PMAI Evy
10/22/2025, 8:13 PMliani_does
10/22/2025, 8:15 PMliani_does
10/22/2025, 8:19 PMAI Evy
10/22/2025, 8:19 PMAI Evy
10/22/2025, 8:19 PMhtml
<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) ]() .AI Evy
10/22/2025, 8:19 PMAI Evy
10/22/2025, 8:19 PM