> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sigmamind.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start with AI Agents

> Get started with SigmaMind AI Agents by creating your first agent, connecting a phone number, and testing calls.

## Overview

This guide walks you through the end-to-end flow of setting up your first **AI Agent** in SigmaMind:

* Create an agent
* Purchase or bring your own phone number
* Connect the number to your agent
* Make your first calls

> [!TIP]
>
> **Note:** If you haven't already, [Sign Up for a SigmaMind account](https://dashboard.sigmamind.ai/p/signup).

### 1. Create an AI Agent (single prompt or conversational flow)

**1. Click on AI Agents**

From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/ai/agents), navigate to **AI Agents** in the left sidebar.

**2. Create AI Agent**

Click the **Create AI Agent** button. You can create an agent using a pre-configured template or build it from scratch:

* **Select a template** that fits your use case (e.g., Debt collection agent, Hotel booking agent)
* [**Create a single-prompt agent**](https://www.youtube.com/watch?v=Kbs-U9kzYmk) for simple, straightforward interactions
* [**Create a conversational agent**](https://www.youtube.com/watch?v=oXGBz_weFrc) (multi-prompt agent) for complex, multi-step workflows

**3. Configure your AI agent**

* Under [**Basic Settings**](https://www.youtube.com/watch?v=800kz9V1LdQ), select the agent voice, language, and model that you want to use.
* Fine-tune your agent using [**Call settings**](https://www.youtube.com/watch?v=kLo32BFkT2M) and [**Speech settings**](https://www.youtube.com/watch?v=KqQBZSyBcc8).

As you configure the agent it will auto-save. Just change the agent mode to **Testing** if you want to test it on **Playground** or to **Live** to make it handle live phone calls.

> [!NOTE]
>
> At this point, your agent is ready to be connected to a phone number.

### 2. Add Phone Number

**1. Click on Phone Numbers**

From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/dashboard), navigate to **Phone Numbers** in the left sidebar.

**2. Add Phone Number**

Click the **Add Phone Number** button to either purchase a new number or bring your own number (BYO).

> [tab] Purchase a New Number
>
> Click on **Purchase from Twilio**. Select your desired country and area code or prefix. Confirm the purchase to add the number to your account.

> [tab] Bring Your Own Number (BYO)
>
> Click on **Connect via SIP Trunking**. Choose your provider (e.g., `Twilio`, `Telnyx`) and configure the necessary SIP credentials or forwarding settings. Save the configuration to integrate the number into your account.

**3. Confirm and Save**

After selecting or integrating a number, confirm your choice and save it to your account.

> [!NOTE]
>
> You now have a phone number ready to be assigned to your AI agent.

### 3. Assign the number to your agent

**1. Click on Phone Numbers**

From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/dashboard), navigate to **Phone Numbers** in the left sidebar.

**2. Select your Number**

Click on the phone number you just purchased or integrated to open its details page.

**3. Assign Agent**

In the number details, find the **Inbound AI Agent** and **Outbound AI Agent** in dropdown. Select the AI Agent you created earlier from the list.

**4. Save Changes**

Click **Save** to apply the changes and connect the number to your agent.

> [!NOTE]
>
> Your agent is now connected to a real phone number.

### 4. Make Your First Calls

**1. Test Inbound Call**

From any phone, dial the connected number. Your AI Agent will answer with the first response based on the global prompt.

**2. Test Outbound Call**

You can trigger an outbound call from the [**Campaigns**](https://www.youtube.com/watch?v=fr7Dj-l7YXU) module or via the API.

Example API (simplified):

```sh theme={null}
curl --location 'https://api.sigmamind.ai/v1/calls' \
--header 'X-API-KEY: <your-api-key>' \
--data '{
  "agentId": "D5D0p7TUs66TTAEAx",
  "customer": { "number": "+1234567890" }
}'
```

## Next Steps

* Configure [Agent Settings](https://docs.sigmamind.ai/documentation/agents/settings/overview.md)
* Customize Speech & Voices
* Integrate Webhooks
* Monitor Campaign Calls


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.