Provider Setup
Swan needs ElevenLabs voice-call provider credentials before real interventions can run.
Swan uses one provider path:
- ElevenLabs starts AI phone calls through its outbound-call API.
- A phone number must be connected inside ElevenLabs for voice calls.
Do not create a separate Voice/TwiML app for Swan v0. Configure the phone number inside ElevenLabs and use the ElevenLabs phone number ID in Swan.
Values Swan Needs
Enter these in the Swan options page:
- Recipient phone number: your phone number in E.164 format, for example
+15551234567. - ElevenLabs API key.
- ElevenLabs Agent ID.
- ElevenLabs Agent phone number ID.
Save the phone and ElevenLabs cards separately after entering values.
1. Create an ElevenLabs Agent
- Open ElevenLabs and create a Conversational AI agent.
- Configure the Swan agent prompt and knowledge base.
- Paste the system prompt into the agent instructions or system prompt field.
- Upload the Swan Recovery Playbook as the agent knowledge base.
- Add the End Call system tool from the agent setup guide.
- Configure the agent voice and conversation behavior.
- Run a direct ElevenLabs test call.
- Copy the Agent ID.
2. Create an ElevenLabs API Key
- In ElevenLabs, open the API keys area.
- Create an API key with access to Conversational AI calls.
- Copy the key immediately and store it somewhere safe.
- In Swan, paste it into the ElevenLabs API key field.
3. Connect a Phone Number in ElevenLabs
- In ElevenLabs, open the Phone Numbers area for the Agents platform.
- Connect or import a phone number using the ElevenLabs dashboard flow.
- Let ElevenLabs detect the number capabilities.
- Link the number to the Swan agent if the dashboard flow asks for it.
- Copy the resulting ElevenLabs phone number ID.
- In Swan, paste it into Agent phone number ID.
Purchased numbers can support inbound and outbound calls. Verified caller IDs are outbound-only. Test the outbound call from ElevenLabs before testing Swan.
4. Test Swan
- Open the Swan options page.
- Enter your recipient phone number.
- Confirm Start voice call is enabled.
- Click Send test alert.
- Confirm the AI call arrives from the ElevenLabs-connected number.
- Check Swan recent events for call status.
If the call fails, check ElevenLabs call history before changing Swan configuration.
Troubleshooting
- Call fails: confirm the phone number was imported or verified in ElevenLabs and use the ElevenLabs phone number ID, not the literal phone number.
- Call fails immediately: confirm the ElevenLabs API key, Agent ID, and Agent phone number ID all belong to the same ElevenLabs workspace.
- No inbound behavior: verified caller IDs are outbound-only.
Security Note
Swan v0 stores provider credentials in browser extension local storage. Treat this as browser-local software connected to your own provider accounts, not a managed production secret model.
After Provider Setup
Return to Test and verify, send a test alert, and inspect the latest Swan log entry.
References
- ElevenLabs outbound call API: https://elevenlabs.io/docs/api-reference/conversations/outbound-call
- ElevenLabs phone numbers: https://elevenlabs.io/docs/agents-platform/phone-numbers