> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quickblox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge base

> Learn how to manage the AI Agent knowledge base

### Manage knowledge base content

In this section, you can add websites, separate webpages, or upload files that will be used as knowledge base sources by your AI Agent.

![Manage knowledge base content screenshot](https://mintcdn.com/quickblox/o2RjBAwC-KBPW1oJ/images/smartchat-assistant-edit-manage-content.png?fit=max\&auto=format\&n=o2RjBAwC-KBPW1oJ\&q=85\&s=1cec3c7ede3c2ecb5108cfa05846d56e)

#### Add websites

To add a website to the AI Agent, follow these steps:

1. Go to ***Dashboard => YOUR\_APP => AI Agent***.
2. Find the AI Agent you want to update and click on its ID.
3. Scroll down to the **My content** section.
4. Enter the website URL.
5. Click **Add**.

![Add websites to AI Agent knowledge base](https://mintcdn.com/quickblox/o2RjBAwC-KBPW1oJ/images/smartchat-assistant-edit-add-websites.png?fit=max\&auto=format\&n=o2RjBAwC-KBPW1oJ\&q=85\&s=767b595536ad1b8ebf63427b208db062)

6. Select the pages you want to add, or click **Select all** to add every page.
7. To automatically add new pages from the website, check **Enable auto sync for website**.

> [!NOTE]
>
> If you enable auto sync, **ALL** pages from the website will be added.

![Select webpages to add](https://mintcdn.com/quickblox/o2RjBAwC-KBPW1oJ/images/smartchat-assistant-edit-select-webpages.png?fit=max\&auto=format\&n=o2RjBAwC-KBPW1oJ\&q=85\&s=846223847c2f21b7bf5c56f9915a06be)

8. Click **Save**.

> [!TIP]
>
> Please note that when you add a web page you are adding that particular web page and not the whole website.

> [!TIP]
>
> When you remove a website, all pages associated with that website will also be automatically removed.

#### Add webpages

To add a webpage to the AI Agent, follow these steps:

1. Go to ***Dashboard => YOUR\_APP => AI Agent***.
2. Find the AI Agent you want to update and click on its ID.
3. Scroll down to the **My content** section.
4. Click on the **Webpages** tab.
5. Enter the webpage URL (including https\:// or http\://).
6. Click **Add**.

![Add webpages to AI Agent knowledge base](https://mintcdn.com/quickblox/o2RjBAwC-KBPW1oJ/images/smartchat-assistant-edit-add-webpages.png?fit=max\&auto=format\&n=o2RjBAwC-KBPW1oJ\&q=85\&s=0889f2a150bf04ee34633016311f8e4e)

#### Add files

To add a file to the AI Agent, follow these steps:

1. Go to ***Dashboard => YOUR\_APP => AI Agent***.
2. Find the AI Agent you want to update and click on its ID.
3. Scroll down to the **My content** section.
4. Click on the **Files** tab.
5. Click the **Browse** button and select a file (or drag and drop the file).

![Add files to AI Agent knowledge base](https://mintcdn.com/quickblox/o2RjBAwC-KBPW1oJ/images/smartchat-assistant-edit-add-files.png?fit=max\&auto=format\&n=o2RjBAwC-KBPW1oJ\&q=85\&s=2d88f29bd0eb1727149b7e638ba6e0f6)

> [!NOTE]
>
> You can upload .docx, .txt, and .pdf files with a max size of up to 25 MB.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.