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

# Creating a Knowledge Base

> Step-by-step guide to creating a new knowledge base.

# Creating a Knowledge Base

Create a new knowledge base to give your agents access to your organization's documents. You'll need an **Admin** role.

## Step-by-step

<Steps>
  <Step title="Open Knowledge Bases">
    Navigate to **Knowledge Bases** in the sidebar. You'll see a list of all existing knowledge bases.
  </Step>

  <Step title="Click Create Knowledge Base">
    Click the **Create Knowledge Base** button. This opens the creation form.
  </Step>

  <Step title="Configure the knowledge base">
    Fill in the required fields:

    * **Name** — A descriptive name (e.g., "Employee Handbook", "Product Documentation", "Sales Materials")
    * **Description** — A brief explanation of what this knowledge base contains
  </Step>

  <Step title="Add datasources">
    Choose how you'll add content to this knowledge base:

    * **File upload** — Drag and drop files or browse your device
    * **SharePoint** — Connect to a SharePoint site or library
    * **Google Drive** — Connect to a Google Drive folder
    * **FAQ** — Add structured question-answer pairs

    You can add multiple datasources to a single knowledge base. See the individual datasource guides for details.
  </Step>

  <Step title="Save and index">
    Click **Save** to create the knowledge base. If you've added documents, indexing begins automatically in the background. You can monitor the indexing progress from the knowledge base detail page.
  </Step>
</Steps>

## After creation

Once your knowledge base is created and indexed, you need to **connect it to an agent** before it's useful:

1. Navigate to **Agents** and edit the agent you want to connect
2. In the agent's knowledge base configuration, select your new knowledge base
3. Save the agent

The agent will now search this knowledge base when answering questions.

## Tips

* **Organize by topic** — Create separate knowledge bases for different domains (HR, Engineering, Sales) rather than dumping everything into one
* **Keep it current** — Regularly update documents or set up auto-sync with SharePoint/Google Drive
* **Test after indexing** — Ask the connected agent questions you know should be answerable from the documents
