> For the complete documentation index, see [llms.txt](https://docs.bird.com/applications/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bird.com/applications/ai-features/ai-agents/how-to/set-up-your-ai-employees-knowledge-base.md).

# Set up your AI employee's knowledge base

### Step-by-step video guide:

Learn how to create and manage knowledge bases that help your AI employees answer questions accurately. In this guide, you'll learn how to:

* Create and organize knowledge base folders
* Add and format documents with relevant content
* Connect knowledge bases to your AI employees
* Write clear descriptions for different types of information
* Test how your AI uses the knowledge base
* Monitor AI responses using the Inspector tool

{% embed url="<https://youtu.be/yJo_l3iQs1w>" %}

### Step one: Install your OpenAI integration

Before you can build a knowledge base and start using AI Agents, you'll need to install the OpenAI integration.

1. Click your name in the bottom left-hand corner of your screen.
2. Click **Manage integrations** > **Add integrations**.
3. Search for and install the **OpenAI** integration.

### Step two: Create a folder structure

1. Click your name in the bottom left-hand corner of your screen.
2. Go to **Settings** > **AI** > **Knowledge base**.
3. Click **Add new folder**.
4. Enter a name for your folder, such as 'FAQs', then click **Get started**.
5. Select your newly-created folder, then click **Add new**.
6. Select **Folder** from the drop-down.
7. Enter a name for your folder, such as 'Product recommendations', then click **Get started**.
8. Repeat the process for every folder that you want to add to your knowledge base.

At this stage, your knowledge base might look like the following image:

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

### Step three: Add your documents

1. From your knowledge base, select the folder that you want to add your documents to.
2. Click **Add new**.
3. Select **Document** from the drop-down.
4. Name your document.
5. In the text field, enter your document content.
6. Use the styling tools to add H1, H2, and H3 tags, and any other types of formatting.
7. Click **Publish document**.
8. Repeat the process for every document that you want to add to your knowledge base.

<table data-view="cards"><thead><tr><th></th><th data-hidden></th><th data-hidden></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Next up: Set up an AI Agent</strong></td><td></td><td></td><td><a href="/pages/57Ub98FzBoKPzzKQjOiG">/pages/57Ub98FzBoKPzzKQjOiG</a></td></tr></tbody></table>


---

# 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 dynamically by asking a question.

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

```
GET https://docs.bird.com/applications/ai-features/ai-agents/how-to/set-up-your-ai-employees-knowledge-base.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
