# The knowledge hub

> Add documents and web pages to a knowledge hub your agent searches, and check that they have been indexed.

- Source: https://www.aui.io/help/integrations/knowledge-hub
- Section: Integrations and data
- Last updated: November 23, 2026

A knowledge hub is a collection of documents your agent searches when a customer asks something its program doesn't state as a rule: the full baggage policy, fare conditions, an FAQ. In the Agent panel a hub appears as a **RAG** integration. You fill it by uploading files or importing web pages, and the agent searches whatever has been indexed.

The builder creates hubs and connects them to the program. Ask it in **Build** mode, for example: "Add a knowledge hub for ACME Air's fare rules and baggage policy, and use it to answer baggage questions." After that, you can add documents yourself from the hub's panel.

## Open a hub

- From the Agent panel: on the **Integrations** tab, click the RAG integration, then **Open knowledge hub** in its **Knowledge** block. The card shows how many files the hub holds.
- From the builder's conversation: when the builder creates a hub, it shows a **Knowledge hub** card that opens the same panel.

The **Knowledge hub** panel takes the right side of the Playground. It has two tabs:

- **Files**: the indexed documents. Click one to view it, or use its download button.
- **Logs**: the indexing runs and their status. A new upload shows here until it is indexed.

![Dark mode, ACME Air Rebooking Agent. The Knowledge hub panel on the right side of the Playground for the fare-rules hub, with a RAG chip. The Files tab is selected with a count of 3 and lists baggage-policy.md, fare-conditions.md and change-and-cancel-faq.md, each with a file type and a download button; a line above them says the three uploads were accepted and are being indexed. The New Document button is open, showing Upload & Parse Files and Parse Resources from URL. On the left, the Agent panel shows the fare-rules integration with its Open knowledge hub button.](https://www.aui.io/assets/help/integrations/knowledge-hub/hub-panel.png)

*Add documents from New Document.*

## Upload files

1. Click **New Document** and choose **Upload & Parse Files**.
2. Click to upload, or drag files onto the box.
3. Click **Upload**.

Supported types are PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx), CSV, Markdown, plain text, HTML, and images (JPEG, PNG, BMP, TIFF). A file with the same name as one already in the hub is refused, so rename the new one first.

## Import a web page

1. Click **New Document** and choose **Parse Resources from URL**.
2. In **URL**, enter the page's address, starting with `https://` or `http://`.
3. Click **Upload URL**.

The hub crawls the page and indexes its content.

## Wait for indexing

Indexing runs in the background and can take a few minutes. A document appears in **Files** once it finishes; until then, follow it in **Logs**, where a failed run shows its error. You can close the panel while indexing runs.

## Hubs synced from another tool

A hub can also be kept in sync with a document tool your team already uses. The builder sets this up: it asks you to sign in to the tool and to pick what to sync. For such a hub, the integration's **Knowledge** block shows **Last synced** and how often it syncs automatically. Click **Resync now** to fetch new and changed documents straight away, for example after you edit an article.

## Before you add a document

> [!IMPORTANT]
> Check a document before you add it to a hub that your live commit searches, because customers' conversations search that hub too.

A branch whose program doesn't search a hub ignores it; the hub's card says that this commit doesn't use it yet. To use the hub there, ask the builder to connect it, then push and test.

## From the CLI

Hubs can also be created and filled with `apollo kb`, for example to upload a folder of documents at once. See the [command reference](https://docs.aui.io/cli/commands).
