michaelscott_45613
08/09/2025, 12:06 PMAI Evy
08/09/2025, 12:06 PMAI Evy
08/09/2025, 12:06 PMhead 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_RETELL_CHAT_AGENT_ID"
data-agent-version="YOUR_RETELL_CHAT_AGENT_VERSION"
data-title="YOUR_CUSTOM_TITLE"
data-logo-url="YOUR_LOGO_URL"
data-color="YOUR_CUSTOM_COLOR"
></script>
Replace the placeholder values with your actual information :
- YOUR_RETELL_PUBLIC_KEY with your actual Retell public key
- YOUR_RETELL_CHAT_AGENT_ID with your actual Retell agent ID
- YOUR_RETELL_CHAT_AGENT_VERSION with your agent version (optional)
- YOUR_CUSTOM_TITLE with your preferred chat window title (optional)
- YOUR_LOGO_URL with the URL of your logo image (optional)
- YOUR_CUSTOM_COLOR with a hex color code for the widget theme (optional)
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 . If you don't specify data-agent-version, it will use the latest version of the agent .AI Evy
08/09/2025, 12:06 PMAI Evy
08/09/2025, 12:06 PMAI Evy
08/09/2025, 12:07 PM