# Knowledge

> Add your website, documents and written answers so the agent replies with your facts, and keep them up to date.

Source: https://docs.komplian.com/ai-agent/knowledge-base

Where: AI Agent → Knowledge Base

Knowledge is what the AI agent reads to answer: your website, your documents and answers you write yourself. Each one you add is a knowledge source.

## Add your website

### 1. Open the knowledge base
Go to **AI Agent → Knowledge Base** and press **Add source**. The **Add Knowledge Source** window opens on the **Website** tab.

### 2. Enter the address
Type the **Website URL**. Add a **Display name** if you want a shorter label in the list.

### 3. Choose how often it is read again
Pick an **Update frequency**: **Daily**, **Weekly**, **Bi-weekly** or **Monthly**. Monthly is the default and the recommended option.

### 4. Start
Press **Start learning**. The source shows **Scraping...** while Komplian reads the site page by page, then **Active**.

Komplian also reads the PDF and Word documents your pages link to.

## Upload a document

### 1. Open the Document tab
Press **Add source** and choose **Document**.

### 2. Pick the file
Choose a PDF, Excel (.xlsx, .xls), CSV, Word (.docx, .doc) or text (.txt) file of up to 10 MB.

### 3. Add it
Press **Add document**. The file appears in the **Documents** folder.

## Write an answer yourself

Use a manual entry for facts that are not on your website: exceptions, internal policies, frequent questions.

### 1. Open the Manual tab
Press **Add source** and choose **Manual**.

### 2. Write the entry
Fill in **Title** and **Content**. Be specific: one topic per entry.

### 3. Choose a category
Pick a **Category**: General, FAQ, Policies, Products, Support or Company info.

### 4. Save
Press **Add entry**. It appears in the **Manual entries** folder.

## Connect other sources

Knowledge from your integrations appears in the **Databases** folder. Connect them in **Account menu → Komplian Store → Integrations**. From the folder, **Manage in Integrations** takes you there.

| Source | What the agent gets | Plan |
| --- | --- | --- |
| Shopify, WooCommerce, PrestaShop | Your products | All plans |
| Notion, Google Drive, OneDrive, Confluence | Your pages and files | Pro and Enterprise |
| Neon, Supabase, MongoDB | Your database records, and live answers to questions such as "how many" or "which ones" | Pro and Enterprise |

Databases are read only. Komplian never writes to them.

## Manage a source

Open the menu of a source in the list.

| Action | What it does |
| --- | --- |
| **Edit** | Changes the source's settings, or the title and content of a manual entry. |
| **Pause** | Stops reading the source again until you resume it. |
| **Resume** | Restarts a paused source. |
| **Re-sync now** | Reads the source again at once, without waiting for its frequency. |
| **Delete** | Removes the source. The agent forgets everything it learned from it. |

## Statuses

| Status | Meaning |
| --- | --- |
| **Pending** | Waiting to be read. |
| **Scraping...** | Being read now. |
| **Active** | Read. The agent uses it. |
| **Failed** | Could not be read. **Last Error** says why. Fix the cause and press **Re-sync now**. |
| **Paused** | Not read again until you resume it. |

The header counts your **Sources**, the **Active** ones, the **Knowledge Chunks** (the pieces the agent searches) and the **Tokens Indexed**. Folders: **Website**, **Documents**, **Databases** and **Manual entries**. **Search files** finds a source by name.

## Write knowledge that works

- **One topic per entry.** "Shipping to the Canary Islands" works better than one long page about everything.
- **Your customers' words.** Write the question the way people ask it.
- **Facts, not marketing.** Prices, times, conditions and exceptions.
- **Check it.** Ask about the new source in [Test the agent](https://docs.komplian.com/ai-agent/test-agent) and look for **KB used** under the reply.

## Limits

| Limit | Value |
| --- | --- |
| Sources | Starter 25, Growth 50, Pro 100, Enterprise 250 |
| Websites | 10 per workspace. The same site cannot be added twice. |
| Document size | 10 MB per file |
| Website reading | Up to 2 levels of links from the address you enter, 50 pages and 25 linked documents. Pages your robots.txt blocks are skipped. |
| AI credits | About 1 credit per 100,000 words read |

## Related

- [Test the agent](https://docs.komplian.com/ai-agent/test-agent): Check that it finds the right answer.
- [Performance](https://docs.komplian.com/ai-agent/performance): Find the questions it answered with low confidence.
- [All integrations](https://docs.komplian.com/integrations/overview): Connect stores and Pro sources.
