Quick Start
Add an AI agent to your website in 5 minutes with a single script tag
Add an interactive AI agent with video avatar, chat, and voice to any website. No backend required—just a script tag and client key.
What you get
Lip-synced digital avatar powered by D-ID
Text chat and voice input with microphone support
Works on desktop and mobile
Auto-reconnection and session handling
Quick setup
Create an agent
Create an agent with the Agents API or D-ID Studio.
Save the agent id — you need it for the embed.
Create a client key
Create a client key with allowed domains using the Create Client Key API.
Your agent only works on domains listed in allowed_domains.
Add the embed script
Add this script tag to your HTML:
<script
type="module"
src="https://agent.d-id.com/v2/index.js"
data-mode="fabio"
data-client-key="{client_key}"
data-agent-id="{agent_id}"
data-name="did-agent"
></script>Replace {client_key} and {agent_id} with your credentials.
Get credentials from StudioIn D-ID Studio, hover over your agent → 3 dots → Embed to copy the script tag with your credentials pre-filled.
Next steps
- Overview — Configuration options and display modes
- Advanced option — Programmatic API, events, and custom controls
Support
Have any questions? We're here to help! Go to the Help Center or send us a message.
Contact SupportUpdated 4 days ago
