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

# Create and manage Knowledge Bases

> Add documents, sync sources, and manage Knowledge Bases in Context Manager

Add and manage Knowledge Bases from the [Context Manager](https://docs.tryprofound.com/context-manager/about.md) section of the platform.

## Create a Knowledge Base

To add a new Knowledge Base:

1. In Profound, go to the **Context Manager** section in the left navigation bar. Select the **Knowledge Base** tab at the top of the screen.

2. Select **+ Add Knowledge Base**.

3. Enter a name for the Knowledge Base.

4. Turn on **Sync with Brand Context** to let the documents in the Knowledge Base contribute to your Brand Context. Leave it off if you want to use this Knowledge Base only for file storage and retrieval.

5. Turn on **Limit to specific categories** to assign the contents to one or more specific [categories](https://docs.tryprofound.com/getting-started/categories.md), or leave it off to apply its contents to all categories.

6. Select **Create** to confirm.

After you create the Knowledge Base, upload content and organize your files.

## Add files to your Knowledge Base

Upload content to a Knowledge Base in several ways. After you upload materials, Profound indexes them and makes them available across the platform.

### Upload files

To add a file to your Knowledge Base:

1. Select an existing Knowledge Base.
2. Select **+ Add Files**.
3. Select the type of upload.

The available upload types include a URL scrape, a direct file upload, a website crawl, a file import from an external source, and pasting text into an editor.

### Scrape specific URLs

Paste individual URLs to extract and store content from live webpages. This method is useful for importing content from sources such as blog posts or public product pages.

To scrape a single page:

1. Select **Scrape Page**.
2. Enter the full URL of the page you want to import.
3. Select the sync cadence: how often Profound refreshes the information from this source.
4. Select **Import URL** to begin the process.

> [!NOTE]
>
> This option only scrapes the specific page referenced by the URL. It does **not** scrape every page within the domain. Use the **Crawl Website** option to scrape a full site.

If your domain is enrolled in **organization Settings > Web Scrape**, Profound fetches the page with [ProfoundBot](https://docs.tryprofound.com/bots/profoundbot.md) from its dedicated IP range, and scheduled syncs fetch it the same way. Otherwise an external crawler fetches the page.

### Upload files directly

Upload files directly into your Knowledge Base. This method works well for documentation such as guides, policies, or internal reference materials.

To upload a file:

1. Select **Upload Files**.
2. Use **Browse Files** to select a file from your device, or drag and drop a file into the upload area.

### Crawl Website

Index an entire site using a sitemap, or by crawling pages across a domain. Best used for documentation sites, help centers, or product catalogs.

To crawl a website:

1. Select **Crawl Website**.
2. Select one of the following options:
   * **Sitemap** - Points to a sitemap XML file, so Profound imports all pages listed in the sitemap.
   * **Crawl** - Progressively indexes pages across a domain. If you select this option, configure the following:
     * **maximum number of pages** to crawl, the default is 100
     * **maximum crawl depth**: the number of levels of the site structure to crawl (1 = crawl just the root page, 2 = root page and other pages linked from it, and so on). The default crawl depth is 3

Profound crawls only **publicly accessible** pages. It can't crawl pages protected by login, authorization, or other credentials.

> [!TIP]
>
> Crawling pages rendered with JavaScript has some known limitations. Some sites (usually belonging to large enterprise companies) block crawlers. Learn how to work around it in [Context Manager FAQ](https://docs.tryprofound.com/context-manager/faq.md).

### Import from an external source (Notion, Google Drive, SharePoint, Confluence, Granola)

Integrate your workspace, select files in the file picker, and import them to your Knowledge Base. Best used for internal documentation, similar to direct file upload.

To import files from an external source:

1. Select **Import from ...** for your import source.
2. If prompted, sign in to authorize the integration.
3. Select files in the file picker. For SharePoint, select entire folders or individual files.
4. Select **Import**.

To import from Confluence, sign in with your Atlassian account, then select the spaces and pages you want to import.

> [!NOTE]
>
> Granola import requires a Granola personal API key. Learn how to create it in [Granola's documentation](https://docs.granola.ai/help-center/sharing/integrations/granola-api#getting-started).

### Paste text

Manually create a document by pasting or entering text directly in the text editor. The editor supports both structured and unstructured text. Best used for creating new documents from scratch, or as a workaround when other methods don't work.

To paste text as a document:

1. Select **Paste Text**.
2. Provide the following information:
   * **Document name**
   * **Document format** (Markdown or Plain Text)
   * **Content**
3. Select **Add Document** to save the file to the Knowledge Base.

## Manage files and content

Knowledge Bases follow a folder structure modeled after a standard filesystem hierarchy. This lets you organize files the same way you would in a typical operating system, by creating folders and subfolders.

Within each Knowledge Base, you can:

* View indexed files
* Add tags to files
* Create new files
* Delete outdated material
* Download previously uploaded content

Organize documentation by product line, brand, or other logical groupings. Well-organized content improves search relevance and Agent performance.

## Choose which categories a Knowledge Base applies to

> [!TIP]
>
> Learn more about categories in [Categories in Profound](https://docs.tryprofound.com/getting-started/categories.md).

By default, every Knowledge Base syncs with **Brand Context** and applies to all categories in your organization. If your organization has more than one category, assign each Knowledge Base to the categories it belongs to so context from one category doesn't appear in another category's Brand Context.

Only users with access to a category can view and edit the Knowledge Bases and Brand Context for that category.

### Limit a Knowledge Base to select categories

To map a Knowledge Base to specific categories:

1. In the Knowledge Base settings, turn on **Sync with Brand Context**. This gives Context Manager access to its contents.
2. Select **Limit to select categories**, then select the categories the Knowledge Base applies to.

![Knowledge Base Settings panel with the Limit to specific categories toggle highlighted above the category list](https://mintcdn.com/profound-37face47/V1WOgGibXMwY4fKe/images/context-manager/manage-knowledge-bases-1.png?fit=max\&auto=format\&n=V1WOgGibXMwY4fKe\&q=85\&s=f780a3a3578ed55e62988781eb07802d)

Only Knowledge Bases mapped to a category feed that category's Brand Context.

To change the category mappings of several Knowledge Bases at once, select them in the Knowledge Bases table, then select **Settings** at the bottom of the screen. Brand Context reorganizes automatically to reflect the new mappings.

To view the Knowledge Bases assigned to a specific category, use the category filter above the Knowledge Bases table.

![Context Manager Knowledge Base tab with the All categories dropdown highlighted next to search and Add Knowledge Base](https://mintcdn.com/profound-37face47/V1WOgGibXMwY4fKe/images/context-manager/manage-knowledge-bases-2.png?fit=max\&auto=format\&n=V1WOgGibXMwY4fKe\&q=85\&s=ee17eed4fa1079fefb72444a71a720a1)
