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

# Knowledge Base

> Train your agent on your specific company data and files.

## Overview

The Knowledge Base (KB) acts as the agent's long-term memory. By connecting a data source, you enable the agent to answer specific questions about your pricing, return policies, and services without hallucinating.

<Frame caption="Knowledge Base Configuration Panel">
  <img src="https://mintcdn.com/ravanai-63bcda11/fh0GNQ4356RFKIqY/assets/images/settings-kb.png?fit=max&auto=format&n=fh0GNQ4356RFKIqY&q=85&s=6ecdaa9e69e33631f788c374f5149f2b" alt="Knowledge Base Settings" width="1139" height="888" data-path="assets/images/settings-kb.png" />
</Frame>

## Video Tutorial

Watch a step-by-step guide on how to upload documents and train your agent.

<Frame>
  <iframe src="https://www.loom.com/embed/fe15f2d046224f2e8c86b217d9d20a62" width="100%" height="450px" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen />
</Frame>

## Configuration Guide

Follow these steps to assign intelligence to your agent:

<Steps>
  <Step title="Select Data Source">
    Navigate to the **Knowledge Base** dropdown menu.

    * **Existing KB:** If you have already created a library, simply select it from the list to attach it to this agent.
    * **Create New:** Select **+ Create New KB** to start a fresh training session.
  </Step>

  <Step title="Train Your Agent">
    If creating a new source, choose your training method below:

    <Tabs>
      <Tab title="File Upload (Docs)">
        Best for internal documents, PDF brochures, and policy manuals.

        1. **Upload:** Drag and drop your files (PDF, DOCX, TXT) into the upload zone.
        2. **Processing:** Wait for the system to index the text.
        3. **Save:** Name your KB (e.g., "HR Policies 2026") and click save.
      </Tab>

      <Tab title="URL Scraper (Web)">
        Best for public websites, help centers, and blogs.

        1. **Enter URL:** Paste the link to your target page (e.g., `https://snowie.ai/pricing`).
        2. **Scrape:** Click **Fetch Content**. Snowie will extract the visible text.
        3. **Verify:** Check the extracted text count to ensure accuracy.
      </Tab>
    </Tabs>
  </Step>

  <Step title="Save & Test">
    Once attached, click **Save Changes**.

    <Tip>
      **Pro Tip:** After updating a Knowledge Base, always go to the **Test Agent** tab and ask a specific question (e.g., *"What is your refund policy?"*) to verify the new training is active.
    </Tip>
  </Step>
</Steps>

<Note>
  **Pricing Notice:** Your first Knowledge Base is included for free. Creating additional specialized KBs may incur extra credit costs depending on your subscription plan.
</Note>
