# Adding Content to a Knowledge Base

Open a knowledge base to reach its detail panel, which has three tabs: **Files**, **Websites**, and **Connectors**.

## Files

Upload documents directly or paste text.

- **Upload file** — Select files, or drag and drop them onto the panel. Supported formats: PDF, DOCX, and text formats including `.txt`, `.md`, `.csv`, `.tsv`, `.log`, `.json`, `.html`, `.xml`, and `.yaml`. Maximum **25 MB** per file.
- **Paste text** — Paste raw content and give it a name. Maximum **2 MB** of text.

Uploading a file with the same name replaces the existing document in place. The file list shows each document's **Name, Pages, Chunks, Size,** and **Status**.

### Previewing a document

**Double-click a file row** to open it in the [Preview](/insulin/getting-started/desktop/) app. There is no button for this — the row itself is the control, and hovering it says *"Double-click to open a preview."*

Preview is offered for **uploaded and pasted files only**. Website and connector documents have no single original file behind them, so their rows do not open.

Two things a preview can answer with instead of the document:

| Response | When | What to do |
|---|---|---|
| **Document is too large to preview** | The stored file is over **25 MB** | Nothing — the document is still indexed and searchable; only the preview is refused |
| **Too many document reads in flight; please retry** | More than **4** document reads are already in flight | Your request waits for a slot and is only refused if none frees up within about **10 seconds**; retry after that |

## Websites

Add a public URL to crawl its pages into the knowledge base.

1. Enter a URL (for example, `https://docs.example.com`)
2. Set the **Depth** — how many link levels to follow (1–10, default 3). Depth 1 is the start page only; depth 3 follows links three levels deep.
3. Click **Add**
4. Click **Start sync** on the new row. Adding a website only lists it; nothing is crawled until you sync.

The crawler imports up to 1,000 pages of main content as documents. Websites re-crawl only when you trigger a **Re-sync** manually — they do not sync automatically. The list shows **URL**, **Docs** and **Status** columns, with per-row sync and remove actions; each URL carries a `depth` badge, and *Last synced* with its date once the site has synced. While a site is indexing, its row shows a progress bar and a percentage (see [Watching indexing progress](/insulin/knowledge-base/syncing-and-indexing/#watching-indexing-progress)).

**Your organization can crawl 5,000 website pages a month.** The allowance is shared by every website in every knowledge base in the organization, and counted per calendar month in UTC. A sync crawls up to its page limit or what is left of the month's allowance, whichever is smaller. Once the allowance is used up, a sync fails: the website's row turns **Failed**, and its error reads *This organization has crawled its 5,000 website pages for this month (UTC). Website syncs resume on the 1st of next month.*

A **Re-sync**, or removing a website, ends a crawl that is still running for it. A re-sync also removes the documents of pages that have gone from the site — but only after a crawl that reached the whole site. When a crawl stops at its page limit, or at what was left of the month's allowance, the documents for the pages it didn't reach are kept until a later crawl reaches them.

### Adding many websites at once

Adding sites one at a time doesn't scale past a handful. Click **Bulk add** on the Websites tab to open the **Bulk add websites** dialog, which reads a spreadsheet of URLs and creates one website per row.

1. Click **Bulk add**
2. Click **Choose file** and pick an `.xlsx`, `.xls`, or `.csv` file. The sheet needs a `url` column; `depth` is optional and defaults to 3. A header row is not required — a bare column of links works, and header names are matched loosely (for example, *Website URL* and *Max Depth* are both understood).
3. Review the preview. Every row is listed with its **URL** and **Depth**, and a summary line above the table counts what was found — for example *42 rows · 39 to add · 2 invalid · 1 duplicate*. Rows that can't be imported are flagged in place with the reason why (see the table below).
4. Click **Add _N_ websites** to import. Only the valid, non-duplicate rows are sent — nothing is written until you confirm this counted list.

A progress bar runs while the import works through the rows one at a time, and the result reads **Added _N_**, or **Added _N_ · _M_ failed** when some rows didn't take, so a partial import is never silent.

Reasons a row is skipped:

| Reason shown on the row | What it means |
|-------------------------|---------------|
| **Missing URL** | The row has no URL in it. |
| **Not a valid URL** | The value isn't a URL. |
| **Must be an http or https URL** | Only `http://` and `https://` addresses can be crawled. |
| **Must be a public address — internal and private hosts can't be crawled** | The host is internal or private. |
| **Depth must be a whole number from 1 to 10** | The depth value is outside the allowed range. |
| **Already added** | The knowledge base already has that URL, or the sheet lists it twice. |

Two more things to know:

- The cap is **500 rows per import**. A larger file is **refused, not truncated** — the dialog reports how many rows it found and asks you to split the file and run it again, rather than quietly importing the first 500 and dropping the rest.
- **Imported websites are added but not crawled.** Start a sync when you're ready.

## Connectors

Connectors keep a knowledge base in sync with issues, tasks, and files from your connected integrations. You can add **one connector per integration** per knowledge base.

| Connector | What it syncs | What you configure |
|-----------|---------------|--------------------|
| **GitHub** | Issues and pull requests as Markdown (no source code) | Repositories; toggle **Issues** and **Pull requests**; optional max items per repo |
| **ClickUp** | Tasks and Doc pages | Spaces; toggle **Tasks** and **Docs**; optional max tasks per list |
| **Google Drive** | Documents and files (Google-native docs exported to text) | Folders (synced recursively) and individual files, via search-as-you-type |

*Notion is not yet available as of July 2026 (no target date committed).*

To add a connector:

1. Open the **Connectors** tab and pick a provider card
2. If the underlying integration is not connected yet, the card shows **Set up the integration first** — connect it in **Settings**, then return
3. Click **Connect**, select the scope (repositories, spaces, or folders/files)
4. Choose whether to **Auto-sync** the connector
5. Click **Connect** to start the first sync

A connected card shows a scope summary (for example, "3 repos"), an indexed count (`Indexed items: X/Y`), and the last sync time — plus, while it is indexing, a progress bar with a percentage (see [Watching indexing progress](/insulin/knowledge-base/syncing-and-indexing/#watching-indexing-progress)). You can **Re-sync**, **Stop sync**, **Edit scope**, or **Remove** the connector.

:::info
Organization knowledge bases support the **GitHub** and **Google Drive** connectors. **ClickUp** is available only on user knowledge bases, because there is no organization-level ClickUp connection.
:::
