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

# Knowledge Base Overview

> Learn how the Knowledge Base trains your bot and the three ways to add content.

Your bot only knows what you teach it. The **Knowledge Base** is where you add
that knowledge – your website pages, your documents, and your own written notes.
The more you add, the more questions your bot can answer.

## The three ways to train your bot

Pick whichever fits the content you have. Most owners use a mix of all three.

<CardGroup cols={2}>
  <Card title="Websites" icon="globe" href="/knowledge-base/training-with-websites">
    Paste a URL and Chatref crawls your site, learning the text on every page.
  </Card>

  <Card title="Files" icon="file" href="/knowledge-base/training-with-files">
    Upload documents like PDFs and spreadsheets, and Chatref reads the text.
  </Card>

  <Card title="Text" icon="text" href="/knowledge-base/training-with-text">
    Paste a title and content directly – great for a quick FAQ or policy.
  </Card>
</CardGroup>

<Note>
  Training uses a small amount of your **Balance**, priced by how much content the
  AI reads, like other AI tasks. See [How Pricing Works](/billing/how-pricing-works).
</Note>

## How answering works

When a visitor asks something, your bot searches your sources for the closest
match and writes its answer from what it finds. It does not make things up.

If your bot can't find the answer in your sources, it says so politely instead
of guessing. Those moments also show up in your [Insights](/insights/overview),
so you can see exactly what to add next.

<Tip>
  A coffee store that adds its shipping page, a returns policy, and a short FAQ
  will cover most of what visitors ask – often before any real chat happens.
</Tip>

## Where to manage it

Open your agent and go to the **Sources** tab. From there you can:

* Add new content from **Websites**, **Files**, or **Text**
* See the training status of every source
* Retry a source that failed, or delete one you no longer need

## Keep it up to date

Your bot answers from what you've trained it on, so retrain when your content
changes. Updated your prices or shipping times? Add the new page or text and
your bot stays accurate. Outdated sources lead to outdated answers.

## Next steps

<CardGroup cols={2}>
  <Card title="Train with websites" icon="globe" href="/knowledge-base/training-with-websites">
    Crawl a whole site, or a single page, into your Knowledge Base.
  </Card>

  <Card title="Train with files" icon="file" href="/knowledge-base/training-with-files">
    Upload manuals, price lists, and policies.
  </Card>

  <Card title="Train with text" icon="text" href="/knowledge-base/training-with-text">
    Paste an FAQ or policy in seconds.
  </Card>

  <Card title="Track training" icon="bolt" href="/knowledge-base/training-status">
    See what's trained and retry anything that failed.
  </Card>
</CardGroup>
