https://retellai.com/?utm_source=discord&utm_medium=seo logo
o
@AI Evy Hi! How to put Chat Agent on a website?
a
Thanks for tagging me @olesilver. I'll look through relevant sources and get back to you shortly.
### Answer To put a Retell AI Chat Agent on your website, you need to embed the chat widget using a script tag. Here’s how: 1. Go to your Retell AI Dashboard and create a Public Key for your site domain ([instructions]() ) . 2. Get your Chat Agent ID and Agent Version. 3. Add the provided script tag for the widget to your website’s HTML
<head>
. Replace the placeholders with your publicKey, agentId, and version. You can find the script and full instructions in the official docs: [Retell Chat Widget]() and [Public Keys]() [(1) ]() , [(2) ]() .
​ To learn more, see the sources I considered: [[1] Retell AI Chat Agent – Real-Time Web Chat Automation Widget | Retell AI](https://www.retellai.com/blog/meet-retell-chat-agents-build-smarter-web-chats) [[2] Chat Widget, Custom Function Enhancement and more!](https://www.retellai.com/changelog/chat-widget-custom-function-enhancement-and-more) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Thanks for the feedback, glad I was helpful.