> For the complete documentation index, see [llms.txt](https://docs.dapta.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dapta.ai/ai-voice-agents/creating-a-voice-agent.md). Agents can also search and read this documentation through its [MCP server](https://docs.dapta.ai/~gitbook/mcp).

# Create your first Voice Agent

Create a voice agent in three steps: give it a name and a purpose, describe your company, and Dapta writes its first prompt live so you can talk to it in your browser before it calls anyone.

To create a voice agent, you tell Dapta who the agent is and what it should do, describe your company once, and Dapta writes the agent's first prompt for you. Then you talk to it in your browser before it calls anyone.

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCy5rSNtQmtqYCGzJlNEB%2Fuploads%2Fgit-blob-f2035b7d5c22814646ec88a871ac63bead5dfe40%2Fvoice-agents-creating-a-voice-agent.mp4?alt=media>" %}

{% file src="/files/ihPQw5rjSSlidT0JdCFV" %}

## What do you need to create a voice agent?

A name for the agent, its purpose (such as confirming appointments or qualifying leads), a few lines on how it should behave, and a short description of your company. If your company has a website, Dapta can write the description for you.

***

**Step 1: Start a new agent**

Go to **Voice Agents** in the left menu and click **New Agent**. There are two ways to start:

* **Create with Dapti**: describe the agent you want in a chat with Dapti, and watch it build the agent and write its prompt.
* **Create from scratch**: the guided steps on this page.

Choose **Create from scratch**, pick **Custom Voice Agent**, check the **Language** and click **Continue**.

{% hint style="info" %}
The other cards are ready-made templates, such as a receptionist or a lead qualification agent. A template skips the questions and takes you straight to a test call. Templates are a quick way to hear Dapta; adapt their prompt to your business before you use them with customers.
{% endhint %}

***

**Step 2: Agent Context**

Tell Dapta who your agent is.

* **Language**: the language the agent speaks on calls.
* **Agent Name**: a human-sounding name. The agent introduces itself with it.
* **Purpose**: what the agent is for: **Meeting Confirmation Call**, **Lead Qualification Call**, **Debt Collection Call**, **Customer Service & Support**, **Schedule Meetings**, **Send Reminders**, or **Custom Voice Agent** to describe your own.
* **Timezone** (optional): where your customers are. The agent uses it to know the current date and time, so "good morning" and "tomorrow" come out right. If you leave it empty, US Pacific Time is used.
* **Important Instructions**: a few lines on what the agent must do, how it should sound (friendly, professional, empathetic) and any rule it must always follow.

Click **Save and continue**. To start from a template instead, click **Choose template**.

***

**Step 3: Company context**

Describe your company once and reuse it in your other agents.

* **Company Name**: the official name of your business.
* **Website URL** (optional): paste your website and click **Generate Context**. Dapta reads it and writes the description for you.
* **Company Description**: what your company does, what it offers and who it serves. Edit what Dapta wrote, or write it yourself.

Already described your company for another agent? Click **use an existing company context** and pick it in **Select Company**.

Click **Save and continue**.

***

**Step 4: Test your agent**

Dapta writes your agent's instructions (its prompt) in real time from everything you entered: who it is, its objectives, your company, how to handle common situations, and how to say numbers, dates and emails out loud. Read it in **Preview**, or switch to **Markdown** for the plain text. Edit it now, or any time later.

On the right, **Try your Agent** lets you talk to it in your browser:

1. Allow the microphone when your browser asks.
2. Fill in the **Receiver's information**, such as the `contact_name` of the person the agent is calling.
3. Click **Start Web Call** and talk. The **Call Transcript** follows the conversation as it happens. Click **End Call** when you're done.

After the call, tell us how it went with **Good** or **Bad**, add a comment if you like, and click **Send and Continue** (or **Skip**). Dapta opens your new agent so you can fine-tune it.

{% hint style="info" %}
A web call doesn't ring anyone's phone. To hear the agent on a real phone, use **Phone Call** in the agent's **Test Agent** tab.
{% endhint %}

***

## What's next

Your agent has its own page, with everything in tabs: **Context**, **Test Agent**, **Settings**, **Call Analysis**, **Call Log**, **Metrics** and **Channels**. Change what you need, then click **Save changes**.

{% content-ref url="/pages/LTTYVGIha5QU4p862AQe" %}
[Configure your agent](https://docs.dapta.ai/ai-voice-agents/how-to-set-up-your-ai-voice-agent.md)
{% endcontent-ref %}

{% content-ref url="/pages/dAhoJK7K0MZ80um6VhFo" %}
[Test Agent](https://docs.dapta.ai/ai-voice-agents/creating-a-voice-agent/test-agent.md)
{% endcontent-ref %}

{% content-ref url="/pages/FFjUPKwst58iAX8yXpRL" %}
[Setting up Company Context](https://docs.dapta.ai/ai-voice-agents/creating-a-voice-agent/setting-up-company-context.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dapta.ai/ai-voice-agents/creating-a-voice-agent.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
