---
title: "Add and manage knowledge sources"
description: "Add websites, files, or notes that agents can search, then check, edit, refresh, or delete them."
---

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

# Add and manage knowledge sources

Knowledge sources give agents reference material they can search while working. AI Agent lists every source in **Docs**. This guide calls the material knowledge, and the app calls the page **Docs**.

> **Where to find it**
>
> In the sidebar, click **Docs**. The page lists **Sources**, **CSVs**,
> **Tables**, and **Competitors**. The **All**, **Sources**, **Tables**, and
> **Competitors** tabs under the page title show one kind at a time. The search
> button at the top right filters by name or description.

In the **All** view of the brand switcher, **Docs** lists the sources of every brand you can open. Each row shows its brand. The filter in the sidebar panel narrows the list. A source shared across the organization shows once. **Add source** asks which brand the source belongs to. Tables, CSVs, and competitors are not combined, so open a brand's own **Docs** page for them.

A source has one of four types: **manual** (a doc you write), **file** (an upload), **website** (an imported page or site), or **connection** (material from a connected app). An agent can use a source only when its status is **Ready**.

1. **Open Add source**

   1. In the sidebar, click **Docs**.
   2. Click **Add source**.

   ![The Docs item in the sidebar and the Add source button at the top of the Docs page.](/screenshots/knowledge/sources-open-add.webp)
2. **Choose where and what to add**

   1. In **Add to**, choose **Brand knowledge** to make the source available to every agent in this project. If you use Board Projects, choose one instead to limit the source to that Board Project's work.
   2. Choose **Import URL**, **Upload file**, **Write doc**, or **Import as doc**.
   3. For **Import URL**, choose **Single page** or **Multiple pages**.
   4. Enter the address, then click **Import page**. For **Multiple pages**, the button reads **Scan site**.

   ![The Add knowledge dialog with Add to, Import URL, the Single page and Multiple pages choice, and the Import page button.](/screenshots/knowledge/sources-add-dialog.webp)

   Each option works as follows:

   - **Import URL, Single page** imports one public page as a website source.
   - **Import URL, Multiple pages** maps the site, then imports up to 25 pages as one source.
   - **Upload file** takes TXT, Markdown, HTML, JSON, or PDF files up to 10 MB. Drop a file on the box or choose one.
   - **Write doc** creates a blank doc that you open and fill in.
   - **Import as doc** turns a Markdown (`.md`), text (`.txt`), or HTML (`.html`) file into an editable doc. Headings, lists, tables, quotes, and links come across. Web, email, phone, and relative links keep their addresses. Links with any other scheme keep their text and lose the address.

   A CSV file does not become a source. When you choose a CSV in **Upload file**, AI Agent opens a CSV import that turns the file into a table. The limit is 5 MB. See [Tables](/core-concepts/tables).

   Importing a URL, scanning a site, and refreshing a website source need an active subscription.
3. **Wait for the source to be Ready**

   A site scan or an upload is queued, and AI Agent indexes every source in the background. You can leave the page and return later. The **Status** column shows where the source is:

   | Status | Meaning |
   | - | - |
   | **Pending** | The source waits to be indexed. Agents cannot use it yet. |
   | **Indexing** | AI Agent is preparing the source. Agents cannot use it yet. |
   | **Ready** | Agents can use the source. |
   | **Error** | Indexing failed. Agents cannot use the source. Open it to read the message. |

   > **Import failed**
   >
   > Check that a web page is publicly reachable or that an uploaded file opens
   > correctly, then try again. Split unusually large documents when needed.
4. **Check or change a source**

   Click a source in the list. Its panel opens on the right, and **Expand** makes the panel larger. Check that the expected material is there before you rely on it.

   - For a website, file, or connection source, you can change the title or the text. **Save** and **Discard** appear next to the title when you change something.
   - For a website or connection source, open **Source actions** and choose **Refresh** to fetch the material again.
   - For a website or uploaded file source, open **Source actions** and choose **Convert to doc** to make an editable doc from its text. The new doc keeps the source's scope. The source must have text and must not be **Pending** or **Indexing**. A file attached in chat cannot be converted.
5. **Delete a source**

   1. In the list, click the source.
   2. In the panel, click **Source actions**.
   3. Choose **Delete**.

   ![A website source selected in the Docs list, with its Source actions menu open and the Delete item.](/screenshots/knowledge/sources-actions-menu.webp)

   4. In **Delete source?**, press and hold **Delete**. If your device uses reduced motion, a single click is enough.

   ![The Delete source? dialog with the Delete button.](/screenshots/knowledge/sources-delete-dialog.webp)

   Deleting removes the source and its indexed passages from the project. A message offers a few seconds to undo.

   > **Deletion affects future retrieval**
   >
   > Remove a source only after checking the agents that rely on it. The deleted
   > material is no longer available for future retrieval.

## Organize docs as pages

The **Docs** page lists your docs as a tree at the top of the page. A page, a file, a website, or a connection can sit in the tree. A page can hold other docs. A file, a website, or a connection cannot hold other docs. Each row shows an icon for its type.

- Click **Create doc** to add a top-level page. Hover over a page and click **Create doc in** that page to add a child. The new page is called "Untitled doc". Click the arrow beside a row to expand or collapse its children.
- Drag a row onto a page to nest it there. Drag it to the gap above a row to place it before that row. Drag it onto the **Docs** label to move it to the top level. With the keyboard, press **Space** to pick up a row, move to a target, and press **Space** or **Enter** to drop it. Press **Escape** to cancel. The keyboard targets are a row or the **Docs** label, not the gaps.
- A row cannot move under itself. Rows nest at most 32 levels deep.
- When you delete a page, its children move up one level.
- An open page shows its parents above the title, as a path that starts at **Docs**. Click a parent to open it.

In the editor, type **@** and choose **Pages** to mention another doc. The mention links to that doc. A doc that other docs mention shows **Linked from** and the number of those docs, for example **Linked from 3 pages**. Click it to see the list and open one. The list shows up to 50 docs.

The search button on the **Docs** page matches the title, the description, and the text inside docs. The tree then shows the matching rows with the pages that hold them. Text search starts after you type at least 2 characters and pause for a moment.

## Ask the agent about part of a doc

Select text in a doc, then click **Ask agent** in the formatting toolbar. You can also open the block menu and choose **Ask agent** to ask about a whole block. Type what you want, such as "make it shorter", and click **Send**.

- In a doc you wrote, the agent's change arrives as suggestions. Review them, or use **Accept all** or **Reject all**.
- In a doc the agent wrote and nobody has edited, the change applies directly, and **Undo** reverts it. After a person edits the doc, the agent's changes arrive as suggestions.

**Ask agent** is not available when the selection holds formatting the agent cannot keep, such as table cells, underline, highlight, or text colour. The request runs as a chat turn and uses chat credits.

## Export a doc

In an open doc, click **Export**:

- **Copy as Markdown** copies the doc to the clipboard.
- **Download .md** saves the doc as a Markdown file.
- **Print / Save as PDF** opens the browser's print dialog. Choose **Save as PDF** there to get a PDF.

Markdown keeps headings, lists, tables, code, links, and footnotes. Callouts become quotes, and toggles and columns become plain blocks. Embedded tables, videos, audio, and files become links. Colours, underline, highlight, the table of contents, and pending suggestions are left out.

## Related

- [Use knowledge with agents](/knowledge/use-knowledge-with-agents)
- [Configure an agent](/core-concepts/agents)

Source: https://docs.aiagent.app/knowledge/add-and-manage-sources/index.mdx
