Start through the UI
- Open Agents → Connect an agent.
- Choose Monitor production, then select Continue.
- Select Retell and follow the setup prompts.
Connect the agent
Complete CLI sign-in and checkegma/config.yaml for the agent. If it is not registered, run:
EGMA_AGENT_ID to that Egma agent ID. If you have already added a
Retell connection, use its stored provider ID and key:
EGMA_RETELL_API_KEY.
Discover the provider ID, set RETELL_AGENT_ID to the selected ID, then enable
monitoring:
--credentials-stdin
instead. It accepts a JSON object with an apiKey field.
Setup stores the Retell binding and starts importing calls. It does not create
a simulation connection. One Egma agent monitors one Retell agent; reuse the
existing binding instead of registering the same Retell agent again.
Verify an imported call
The first setup imports available completed calls from the previous 30 days. Egma checks for new completed calls about every 30 seconds while monitoring is enabled. Allow time for Retell to finalize a call and for the import to finish. Open Traces in your Egma project. Find a recent call from the agent, open its trace, and check the transcript against that call. If nothing appears:- Confirm that the call belongs to the Retell agent ID you selected.
- Check that the call has ended and is available in Retell’s history.
- Open Agents, select the agent, and check that Production monitoring is Active. Its last-received time shows whether a call has arrived.
- If setup failed, resolve the authorization or provider error that the CLI returned before retrying.