> ## 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).
</Tip>

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

<Steps>
  <Step title="Click on AI Agents">
    From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/ai/agents), navigate to **AI Agents** in the left sidebar.
  </Step>

  <Step title="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
  </Step>

  <Step title="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.
  </Step>
</Steps>

<Note>
  At this point, your agent is ready to be connected to a phone number.
</Note>

### 2. Add Phone Number

<Steps>
  <Step title="Click on Phone Numbers">
    From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/dashboard), navigate to **Phone Numbers** in the left sidebar.
  </Step>

  <Step title="Add Phone Number">
    Click the **Add Phone Number** button to either purchase a new number or bring your own number (BYO).

    <Tabs>
      <Tab title="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>

      <Tab title="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.
      </Tab>
    </Tabs>
  </Step>

  <Step title="Confirm and Save">
    After selecting or integrating a number, confirm your choice and save it to your account.
  </Step>
</Steps>

<Note>
  You now have a phone number ready to be assigned to your AI agent.
</Note>

### 3. Assign the number to your agent

<Steps>
  <Step title="Click on Phone Numbers">
    From the [SigmaMind Dashboard](https://dashboard.sigmamind.ai/app/dashboard), navigate to **Phone Numbers** in the left sidebar.
  </Step>

  <Step title="Select your Number">
    Click on the phone number you just purchased or integrated to open its details page.
  </Step>

  <Step title="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.
  </Step>

  <Step title="Save Changes">
    Click **Save** to apply the changes and connect the number to your agent.
  </Step>
</Steps>

<Note>
  Your agent is now connected to a real phone number.
</Note>

### 4. Make Your First Calls

<Steps>
  <Step title="Test Inbound Call">
    From any phone, dial the connected number. Your AI Agent will answer with the first response based on the global prompt.
  </Step>

  <Step title="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" }
    }'
    ```
  </Step>
</Steps>

## Next Steps

* Configure [Agent Settings](/documentation/agents/settings/overview)
* Customize Speech & Voices
* Integrate Webhooks
* Monitor Campaign Calls
