Skip to main content
Prerequisites: an active Retell account with at least one agent, and a Tuner account. No code is needed.

Overview

You connect a Retell agent from the agent setup wizard in Tuner. You paste your Retell API key, pick the Retell agent, and Tuner configures the Retell webhook for you.
1

Get your Retell API key

Copy an API key from the Retell dashboard.
2

Create the agent in Tuner

Click Create New Agent, choose Retell, connect your key and pick your Retell agent.
3

Import recent calls

On the last wizard step, import your most recent Retell calls so they’re evaluated right away.
No webhook configuration needed. When you create the agent, Tuner sets the webhook URL on your Retell agent. This replaces any webhook URL already set there. See Webhooks for how to keep your existing automations running.

Step 1: Get your Retell API key

Your Retell API Key lets Tuner authenticate with Retell, list your agents and ingest call data.
  1. Log in to your Retell dashboard.
  2. Open Settings and go to API Keys (or your workspace’s API key section, depending on your Retell UI).
  3. Create a new key or copy an existing one.
Treat your Retell API Key like a password. Do not commit it to source control or expose it in client-side code.

Find your Retell Agent ID (only if needed)

The wizard lists your Retell agents, so you usually don’t need the Agent ID. You only type it in if the list can’t load or is empty.
  1. Open the Retell dashboard and click the agent you want to connect.
  2. Copy the Agent ID shown at the top of the page. It starts with agent_.
The Agent ID is also in the URL when you view an agent, for example https://dashboard.retellai.com/agents/agent_bcf7565e36612c8b9929857f4b.

Step 2: Create your agent in Tuner

1

Open the wizard

In the sidebar, click Create New Agent. Before your workspace has its first agent, the button reads Set up your first agent. The full-screen setup wizard opens.
2

Choose Retell

Under Where does your agent run?, select Retell.
3

Connect your Retell API key

Under Connection, paste your key into Retell API key and click Connect. Tuner validates the key and stores it in your workspace settings.If your workspace already has a Retell key, the wizard shows Using your workspace’s Retell key instead. Click Change to use a different key.
4

Pick your Retell agent

In Which agent?, choose the Retell agent to connect. Tuner selects the first agent in the list and fills in Agent name and the system prompt from Retell. You can edit both.If the list can’t load or your account has no agents, the wizard shows an Agent ID field instead. Paste the Agent ID from Retell.
5

Fill in the details

Under Details, check Agent name and set Call direction to Inbound or Outbound, matching how the agent is used. The system prompt is optional; click Add system prompt (optional) to add one if it wasn’t imported.
6

Add the agent

Click Add agent. Tuner creates the agent and sets its webhook URL on your Retell agent.
7

Choose how to configure it

Under How do you want to configure it?, choose Start from a template, Configure via MCP or Set up manually, then click Continue.
8

Get your first evaluated call

The last step checks your Retell account for recent calls. See Import recent Retell calls.
The Add an agent wizard with Retell selected: the Connection section shows "Using your workspace's Retell key" and the Which agent? picker

Save the key in Workspace Settings instead

You can also save or replace your Retell key outside the wizard:
  1. Open Workspace Settings > General Settings.
  2. Under Third-party Integrations, paste your key into Retell API Key.
  3. Click Save Changes.
A saved key shows as Saved, ending in followed by its last characters. The wizard then uses it automatically.
The Third-party Integrations card in Workspace Settings, with saved Retell and Vapi keys shown as "Saved, ending in" and the Save Changes button

Import recent Retell calls

On the last wizard step, Get your first evaluated call, Tuner checks your Retell account for calls from the connected agent.
1

Review the calls found

If Tuner finds recent calls, it shows a Found N recent calls card.
2

Import and evaluate them

Click Import & evaluate all N. Tuner imports your most recent calls and runs your evals on them. A progress bar shows how many are done. Importing needs available credits in your workspace.
3

View the results

When the import finishes, click View your calls to finish setup and open Call Logs.
If no recent calls are found, the step shows a Real call card and a Simulated call card instead. Make a call to your Retell agent or run a simulation, then click Finish. To bring in older calls after setup, use Import older calls on the Call Logs page.

Enable simulation

Required if you’ll use Call Simulation. Skip it otherwise.

Inbound

There is nothing to set up. Tuner starts each simulated call through Retell, using your agent’s Agent Remote ID and the Retell API key saved in your workspace. See Simulate a Retell agent.

Outbound

Outbound simulation isn’t available for Retell agents.

Check simulation works

Start a simulation run. See Run a simulation. When the call ends, check its result in the run. If it shows Unreported, Tuner never received a matching call from Retell. See Fix an Unreported run.

Webhooks

Connecting to Tuner replaces the webhook URL on your Retell agent. Tuner points that webhook at itself, so any URL you had set there (n8n, Zapier, your own backend) stops receiving Retell events.
Add that URL in Tuner under Agent Settings > Webhooks instead. It then receives:
  • Tuner events: call.analyzed and alert.fired.
  • Retell’s call_analyzed event: forwarded as a call.received event, with Retell’s original body in payload.
Tuner forwards only Retell’s call_analyzed event. Other Retell events are not forwarded, so an automation that depends on them stops receiving them. See Webhooks for the event format, headers and URL requirements.

Troubleshooting

The wizard shows an error under Retell API key when Retell rejects the key. Check that you copied the whole key with no extra spaces, or create a new key in Retell and try again.
If you have many Retell agents, the list shows the most recent ones. If your agent is missing, or the wizard shows the Agent ID field, paste the Agent ID from Retell. It starts with agent_.
Check that the agent’s Agent Remote ID in Agent Settings > Agent Setup matches the Retell Agent ID, and that a Retell key is saved under Workspace Settings > General Settings > Third-party Integrations.

Next steps

Run a simulation

Test your Retell agent against generated Scenarios.

Configure via MCP

Use your IDE or chat app to generate outcomes, intents, evals and alerts.