Dashboard Setup
Before you can run a Piopiy AI agent, you must provision an agent credential pair and lease a phone number to connect to the public telephony network.
This setup takes place entirely within the Piopiy Dashboard.
Video Walkthrough
Watch the complete loop: purchasing a number, generating agent credentials, and mapping the routing.
Video walkthrough will be added soon. Follow the step-by-step setup below for the complete flow.
1. Create your Agent Credentials
First, you need an AGENT_ID and AGENT_TOKEN to authenticate your Python script securely.
- Log into the Piopiy Dashboard.
- Navigate to Voice AI -> Agents.
- Click Create Agent.
- Give your agent a name (e.g., "Customer Support Agent").
- Copy the generated
AGENT_IDandAGENT_TOKEN. Keep these secure!
2. Buy a Phone Number
To let people call your agent, you need a public phone number.
- Navigate to Numbers in the sidebar.
- Click Buy a Number.
- Select your desired Country and Type (Local, Toll-Free, etc).
- Purchase the number.
3. Map Number to your Agent
Finally, associate your new phone number with the AI Agent you created. This creates the routing rule: when this number is dialed, trigger a Live Session on your AGENT_ID.
- Go back to your Numbers list.
- Find the number you just purchased and click the Configure (gear) icon.
- In the routing dropdown, select AI Agent.
- Choose the Agent Name you created in Step 1.
- Save the configuration.
Once this setup is complete, you can return to the Quickstart to write your code.