.jorge.ai
07/31/2025, 7:15 AMAI Evy
07/31/2025, 7:15 AMAI Evy
07/31/2025, 7:15 AMhead tag
Here's the script you need to embed :
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>
The widget appears as a floating button in the bottom right corner with a robot icon . When visitors click it, they can start a conversation with your agent . The widget automatically handles chat sessions and persists previous chats in localStorage .
You can customize the widget's title, logo, and color theme [(1) ]() [(2) ]() . The widget uses Retell's public key system, allowing direct API calls from the frontend with no backend proxy required [(1) ]() .AI Evy
07/31/2025, 7:15 AMAI Evy
07/31/2025, 7:15 AM