# Set up your AI employee's knowledge base

### Step-by-step video guide:&#x20;

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="https://3861485111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU9kiDiTGVD8kkbnKKyEn%2Fuploads%2FitIluWq1q4IAOmCjQjQl%2FScreenshot%202024-05-27%20at%2012.26.57.png?alt=media&#x26;token=28266601-a7c3-4d79-8dba-5cbd968c1357" 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="create-your-first-ai-employee">create-your-first-ai-employee</a></td></tr></tbody></table>
