https://retellai.com/?utm_source=discord&utm_medium=seo logo
I need to enable the Domain Allowed and Embed code
# ❓・ai-evy-support
y
@AI Evy I need to enable the Domain Allowed and Embed code
a
Thanks for tagging me @Yonny. I'll look through relevant sources and get back to you shortly.
### Answer To enable Domain Allowed settings and get your embed code for the Retell Chat Widget, you'll need to configure your public keys [(1) ]() . Setting Up Allowed Domains: 1. Navigate to the Public Keys section in your Retell dashboard 2. Click on the public key you want to configure 3. Add the domains where your public key can be used (e.g.,
example.com
,
app.example.com
) 4. Save your changes For Local Testing: To test your integration locally, add
localhost
to your allowed domains list . This enables development and testing on your local machine before deploying to production . Security Best Practices: - Only add domains you control to the allowed domains list - Regularly review your allowed domains to ensure they're up-to-date - Use the most restrictive domain settings possible for your use case Managing Your Public Keys: You can create, view, and manage your public keys from the Retell dashboard by navigating to the Public Keys section . Once configured, you can copy the public key to use with the Retell Chat Widget on your website . Public keys are specifically designed for authenticating the Retell Chat Widget when embedded on your website and are safe to include in frontend applications for this specific purpose .
​ To learn more, see the sources I considered: [[1] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
y
Don't work, I need to get enable that
Hello! My website widget doesn’t render. Script loads (200) but no UI mounts. My publishable key is public_key_… and my agent is agent_…. Allowed domains include https://.myshopify.com and my custom domain(s). Could you please enable the Website Widget feature for this publishable key/agent?
@AI Evy Hello! My website widget doesn’t render. Script loads (200) but no UI mounts. My publishable key is public_key_… and my agent is agent_…. Allowed domains include https://.myshopify.com and my custom domain(s). Could you please enable the Website Widget feature for this publishable key/agent?
a
Thanks for the follow-up, @Yonny. I'll get back to you soon.
### Answer Based on the documentation, if your script loads (200) but the widget UI doesn't mount, here are the troubleshooting steps: Verify Your Script Implementation: The script should be added to your HTML within the
<head>
tag with all required attributes [(1) ]() :
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_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>
Domain Configuration Issues: For Shopify sites specifically, there's a known issue where the exact domain format matters [(2) ]() . Based on community reports, you may need to check: - The exact domain where the widget is embedded - Whether subdomains or paths affect the domain whitelist Agent Version Setting: If you don't have published versions, remove the
data-agent-version
line entirely [(3) ](

▾

) . If you leave the line but have versions, replace it with "0" . If you don't specify
data-agent-version
, it will use the latest version of the agent [(1) ]() . Testing Steps: 1. Add
localhost
to your allowed domains for local testing [(4) ]() 2. Verify your public key and agent ID are correct [(1) ]() 3. Check browser console for specific error messages Since the Website Widget feature doesn't require special enablement according to the documentation, the issue is likely with domain configuration or script implementation. If these steps don't resolve the issue, you may need to contact support for account-specific troubleshooting.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Retell Chat Widget](https://docs.retellai.com/deploy/chat-widget) [[2] Chat bot not responding](https://discord.com/channels/1186424376300679209/1384593638499160124) [[3] Speed to Lead: Driving Results with Outbound Facebook Campaigns](

https://www.youtube.com/watch?v=9fgelfy6kQA▾

) [[4] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
y
still not working
@AI Evy still not working
a
Thanks for the follow-up, @Yonny. I'll get back to you soon.
### Answer Based on the available sources, I don't have specific troubleshooting information for when the Retell Chat Widget script loads but the UI doesn't mount. The sources only cover the basic setup process for public keys and allowed domains [(1) ]() . Since you've already configured your allowed domains and the script is loading successfully (200 response) , but the widget still isn't rendering, this appears to be a technical issue that requires direct support assistance. For this specific problem, I'd recommend: Visit [Contact Sales]() or Visit [) for technical support. Would you like me to provide a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.
y
@AI Evy What a suck company doesn't help the customers
a
Thanks for the follow-up, @Yonny. I'll get back to you soon.
### Answer I understand your frustration with the widget not working. Based on the available documentation, here are some additional troubleshooting steps that might help: Verify Your Script Implementation: Make sure your script tag includes all required attributes and is placed within the
<head>
tag [(1) ]() :
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_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>
Testing the Widget: After adding the widget to your website, test it by loading your website, clicking the floating button (bottom right, robot icon) , and starting a conversation with your agent . The widget will automatically handle chat sessions and persist previous chats in localStorage . Domain Configuration: Ensure your allowed domains are configured correctly in the Public Keys section of your Retell dashboard [(2) ]() . For testing on localhost, add
localhost
to your allowed domains list . If the script loads but the UI doesn't mount, this could be a technical issue requiring direct support. You can: - Visit [Contact Sales]() - Visit [) Would you like me to provide a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Retell Chat Widget](https://docs.retellai.com/deploy/chat-widget) [[2] Public Keys](https://docs.retellai.com/accounts/public-keys) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
Appreciate the feedback! Feel free to ask me again with additional guidance or context.