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

# 📚 Knowledge Sources

> Complete guide to manage and configure knowledge sources for your chatbot

🎥 Refer to the setup video for a step-by-step visual guide:

<div
  style={{
position: "relative",
paddingBottom: "56.25%", // 16:9 aspect ratio
height: 0,
marginTop: "16px",
borderRadius: "14px",
overflow: "hidden",
}}
>
  <iframe
    src="https://www.youtube.com/embed/1DE032tyaLQ?si=JKZSFmAt_4oHffov"
    title="Knowledge Sources"
    frameBorder="0"
    allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
    allowFullScreen
    style={{
  position: "absolute",
  top: 0,
  left: 0,
  width: "100%",
  height: "100%",
  borderRadius: "14px",
}}
  />
</div>

## Overview

The **Knowledge Sources** feature allows you to connect external content to your chatbot so it can deliver accurate, contextual, and up-to-date responses. You can add URLs, documents, images, and third-party integrations as sources of knowledge.

This guide explains how to add sources, configure recrawling, and manage indexed URLs.

## Accessing Knowledge Sources

<Steps>
  <Step title="Open Knowledge Sources">
    * Log in to your dashboard
    * Navigate to **Data Source** from the main menu
    * Click on **Knowledge** in the left sidebar
  </Step>

  <Step title="View Current Status">
    * The Knowledge page loads with Webpage sources that have been crawled and indexed for your chatbot
    * If no sources are added, you’ll see **No data sources found for this chatbot**
  </Step>
</Steps>

<img src="https://mintcdn.com/neuraltalk/lL8KxG5DfvXuB77p/images/KnowledgeDashboard.png?fit=max&auto=format&n=lL8KxG5DfvXuB77p&q=85&s=1d3c6888741da7f9ed46f49ded677101" alt="Knowledge Dashboard" width="1666" height="462" data-path="images/KnowledgeDashboard.png" />

## Adding a Knowledge Source

Click **Add Source** to begin adding content to your chatbot.

<CardGroup cols={2}>
  <Card title="URL" icon="link">
    Add public webpages to train your chatbot using live website content.
  </Card>

  <Card title="Documents & Images" icon="file-text">
    Upload PDFs, text documents, or images as knowledge sources.
  </Card>

  <Card title="Google Drive" icon="cloud">
    Connect files directly from your Google Drive.
  </Card>

  <Card title="Notion" icon="book-open">
    Sync selected Notion pages as structured knowledge.
  </Card>
</CardGroup>

## URL Configuration

When adding a URL source, you must configure how content is crawled.

* **URL**: Required
* **Scope Options**: This page only, Entire site, Subdirectory only, Sitemap

### Auto-Recrawl Settings

<AccordionGroup>
  <Accordion title="Enable Automatic Recrawling">
    * Keeps your sources up to date
    * Sources are refreshed on a regular schedule
  </Accordion>

  <Accordion title="Why It Matters">
    Ensures your chatbot always responds using the latest content from your website.
  </Accordion>
</AccordionGroup>

Once added, your URLs are crawled and indexed for the chatbot.

In the **Actions** column, you have the following options:

* **Edit**: Open **Edit URL Settings** to manage source behavior.
  * **Auto-Recrawl**: Enable automatic recrawling of this source on a schedule.
  * **Cancel**: Discard changes.
  * **Save**: Apply the updated settings.

* **Recrawl**: Re-index the URL to fetch the latest content.

* **Delete**: Remove the URL and all associated data from the chatbot.

## Best Practices

* Add high-quality, relevant sources for better answers
* Enable auto-recrawl for frequently updated websites
* Remove outdated or low-value sources
* Monitor total character usage regularly
