Connect through the UI
- Open Agents → Connect an agent.
- Choose Run simulations, then Retell.
- Enter your Retell API key and select Find agents.
- Select the Retell agent you want to test.
- Choose Text, Web call, or Phone call, then continue through the setup prompts. The available options depend on your Retell agent.
1. Find the Retell agent
Load your Retell API key into theEGMA_RETELL_API_KEY environment variable
from your secret store. If your repository already loads RETELL_API_KEY, use:
RETELL_AGENT_ID to the exact ID of the agent you want to test. Do not use
a display name in its place.
For a key supplied by another process, add --credentials-stdin. The CLI
accepts a JSON object with an apiKey field through standard input. Do not put
the key in a command-line argument or commit it to egma/config.yaml.
2. Register the agent in Egma
Checkegma/config.yaml first. If it already contains the agent, use that Egma
agent ID. Otherwise, register it with a name that identifies it in Egma:
EGMA_AGENT_ID to the Egma ID printed by the command. Registration creates
the Egma record; the next step connects it to Retell.
3. Add a connection
- Text
- Web call
Text mode tests the conversation logic without sending audio through the
speech stack. It supports Retell-managed LLM and conversation-flow agents.
Retell custom-LLM agents do not support this mode.
EGMA_CONNECTION_ID in the
start a run.