1. Get Your Retell API Key
Visit retell.ai and sign up for an account.
Navigate to your dashboard and copy your API key.
2. Create an Agent
In your Retell dashboard, create a new agent.
Configure the agent's personality, voice, and behavior.
Copy the Agent ID once created.
3. Configure the Demo
Open the config.js
file in this directory.
Replace YOUR_RETELL_API_KEY_HERE
with your actual API key.
Replace YOUR_AGENT_ID_HERE
with your agent ID.
4. Choose Your Mode
For demo purposes, set useDirectApi: true
in the backend configuration.
⚠️ This exposes your API key - only use for testing!
5. For Production
Create a secure backend endpoint that generates access tokens.
Set useDirectApi: false
and configure your tokenEndpoint
.