0megasuprem3
08/03/2025, 4:21 PMAI Evy
08/03/2025, 4:21 PMAI Evy
08/03/2025, 4:21 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_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 credentials and customization preferences . The widget supports customization options like title, logo URL, and theme color [(2) ]() [(1) ]() .
4. Test the Widget
After adding the script, test by loading your website and clicking the floating button (bottom right, robot icon) [(1) ]() .
The widget requires no backend setup and uses the public key system for direct API calls from the frontend [(1) ]() [(3) ]() .AI Evy
08/03/2025, 4:21 PMAI Evy
08/03/2025, 4:21 PM