https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi How i can deploy my voice ai agent into the w...
# ❓・ai-evy-support
n
Hi @AI Evy How i can deploy my voice ai agent into the website? Is there any code or anything
a
Thanks for tagging me @nishh_72802. I'll look through relevant sources and get back to you shortly.
### Answer To deploy your Retell AI voice agent on a website, use the "Callback Widget." This lets users request a call from your voice agent directly from your site. Add the following script tag in your HTML section, replacing the placeholders with your actual values:
Copy code
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_VOICE_AGENT_ID"
 data-widget="callback"
 data-phone-number="YOUR_RETELL_PHONE_NUMBER"
 data-title="Request a Call"
 data-countries="US,CA,GB"
 data-tc="<https://yoursite.com/terms%22>
 data-color="#FFA07A"
 data-recaptcha-key="YOUR_GOOGLE_RECAPTCHA_SITE_KEY"
></script>
This will display a button on your site. When clicked, it collects user info and initiates a phone call to them using your Retell AI voice agent [(1) ]() . For full setup details and all available options, see: [Retell Website Widget Documentation]()
​ To learn more, see the sources I considered: [[1] Retell Website Widget](https://docs.retellai.com/deploy/chat-widget) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.