# Train AI

If you have not set up the Basic Instructioins for your AI Chatbot, please start there. You can use [this article](/getting-started/configure-ai-chatbot.md) to guide you through the process.&#x20;

<figure><img src="/files/2yysSQrGs4gVPLQSMyX5" alt="" width="563"><figcaption></figcaption></figure>

**Steps to Train Your AI Agent:**

1. **Prepare Your CSV File**: Set up a spreadsheet with two columns. The first column should contain common questions, and the second should have the corresponding answers you’d like the AI to use. See examples below.
2. Upload the CSV file, add your URL and any additional verbiage in the Text area

<figure><img src="/files/XSOYrUCgJUD8zGsBz4GM" alt="" width="404"><figcaption></figcaption></figure>

CSV File examples to help you in your preparation process:

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

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

<figure><img src="/files/JRoJZibjQNHfhsRjdn65" 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://help.gleantap.com/ai-chatbot/train-ai.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.
