PGS1208
11/22/2025, 1:09 PMAI Evy
11/22/2025, 1:10 PMAI Evy
11/22/2025, 1:10 PMAI Evy
11/22/2025, 1:10 PMAI Evy
11/22/2025, 1:10 PMPGS1208
11/22/2025, 1:11 PMPGS1208
11/22/2025, 1:11 PMAI Evy
11/22/2025, 1:11 PMAI Evy
11/22/2025, 1:11 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>
Required attributes:
- data-public-key - Your Retell public key
- data-agent-id - Your chat agent ID
All other attributes are optional for customization .
For Testing Locally:
Add localhost to your allowed domains list in the Public Keys section of your Retell dashboard [(2) ]() .AI Evy
11/22/2025, 1:16 PMAI Evy
11/22/2025, 1:16 PM