# How to create your first text Agent

{% embed url="<https://www.loom.com/share/597b943fda404258ae329bef77d662b9?sid=ac650899-9392-40d5-b91d-64457c0db5a4>" %}

### Step-by-Step Guide

#### 1. Navigate to Your Text Agent or Create a New One

* In the left sidebar, click on **Text Agents**.
* Create a new agent

<figure><img src="/files/dJRH3aHgRCcGVqBKsPVw" alt=""><figcaption></figcaption></figure>

#### 2. Build Your First Prompt

* Select the purpose of your agent.​
* Modify your agent's prompt template. You can find more information on how to structure a good prompt [here](/ai-voice-agents/how-to-set-up-your-ai-voice-agent/prompt-guide.md)

<figure><img src="/files/Fy88fO9NlmUWV5eDIEKc" alt=""><figcaption></figcaption></figure>

#### 3. Add Your Business Information

* Add your business information so the AI can be trained with it.
* You can add URLs or upload files directly!

<figure><img src="/files/7cl5XVplGB5I0vp1KRtb" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/g8rLNr7DZOvQpTPWXUDM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dapta.ai/product-guides/text-agents-legacy/how-to-create-your-first-text-agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
