https://retellai.com/?utm_source=discord&utm_medium=seo logo
p
@AI Evy Hello. I have a quick question, if anyone would help me it would much appreciated. I have already embed a Retell AI voice agent in my website and I want to add another widget for a Chat agent. The problem is that only 1 widget is visible. I'm pretty sure I should be able to do that, as this is a pretty simple and straightforward but I'm stuck. I only have 1 Twilio number. Can someboy help ? Thanks in advance for your time!
a
Thanks for tagging me @popo9766. I'll look through relevant sources and get back to you shortly.
### Answer Based on the documentation, the Retell website widget uses a single
<script>
tag with
id="retell-widget"
to embed either a chat widget or callback widget [(1) ]() . Since both widget types use the same script ID, only one widget can be rendered at a time on a single page . The chat widget is embedded with
data-agent-id
pointing to your chat agent ID , while a callback widget (voice-based) would use
data-widget="callback"
with a voice agent ID and phone number . The documentation does not explicitly describe how to embed both a chat widget and a voice/callback widget simultaneously on the same page. The current implementation appears to support one widget instance per page since they share the same script ID . Regarding your Twilio number: The chat widget doesn't require a phone number—it only needs your Retell public key and chat agent ID . Phone numbers are only required for the callback widget mode, which initiates phone calls . Potential workarounds (not explicitly documented) : - Consider using iframes to isolate each widget instance - Reach out to Retell support to confirm if multiple widget instances are supported Would you like me to provide a general approach for handling multiple embedded widgets, or would you prefer to contact Retell support for clarification on multi-widget implementation? **
​ 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.