> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.withpaygent.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.withpaygent.com/_mcp/server.

# Voice Agent Setup

Setting up a voice agent in Paygent is a streamlined 4-step process. Once configured, you'll be able to track granular metrics like STT minutes, LLM tokens, and TTS characters with precision.

## Step 1 — Initialize Creation

From your dashboard, navigate to the Agents tab and click on the 'Create Agent' button to begin the setup.

![Create Agent Button](/_fern-img/2b34885576ca50897e801c35d3a2bc56227dce5082f39d21f205aaae68885292.webp)

## Step 2 — Define Agent Identity

Provide a descriptive name and a unique External ID. This ID will be your primary identifier in the SDK and API calls.

![Voice Agent Setup Form](/_fern-img/de90e4beda3cafa09b86c70f19d90cea6e10c15e8d5a22631612693bf15b6c8c.webp)

> **Tip**
>
> **Pro Tip:** Use the same ID you use in your own database for seamless mapping.

## Step 3 — Configure Activity Indicators

Define the events you want to track. For voice, this usually includes `voice_call_completed` or `stt_usage`. You can define indicators like this to track specific activities.

![Configure Indicators](/_fern-img/2899757667b8ed69eec2fce1554916a88c6330eca813ad2068c1a5b458778965.webp)

## Step 4 — Set Pricing Logic

Voice agent companies typically charge based on call duration. You can choose between a fixed price per call or a per-minute rate. For the industry standard, select 'Per Minute' and define your cost per minute (e.g., \$0.15/min).

![Set Pricing Logic](/_fern-img/6b7c00ba007afe72895f6d3e367c53075c30670c5f58ce63ecd29a005658329c.webp)

> **Tip**
>
> The per-minute model is recommended for voice agents to ensure your revenue scales with usage.