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

# Create Agent from Website Knowledge

> Build AI Agents that answer questions using website knowledge bases

Create powerful AI Agents that can answer questions and provide information based on website content. This process automatically scrapes, processes, and trains your website content to build a smart assistant.

### What you can do with this

* **Build customer support agents** that answer questions using your help documentation
* **Create internal knowledge assistants** to help employees find information quickly
* **Develop product information bots** that provide detailed specs and features
* **Design training assistants** for interactive learning experiences
* **Ensure compliance** with accurate information delivery for regulatory requirements

### What you get

**Knowledge-powered intelligence**

* **Instant expertise**: Your Agent immediately knows your content and can answer related questions
* **Contextual responses**: Provides accurate answers based on your specific information
* **Content updates**: Automatically stays current as you update your Knowledge Base
* **Source citations**: Can reference specific documents or sections when answering
* **Domain expertise**: Specialized knowledge in your specific field or industry

### Step-by-step creation process

<Steps>
  <Step title="Click Create from Knowledge card">
    Navigate to the Create Agent page and click on the **Create from Knowledge** card to begin the process.

    <Frame>
      <img src="https://mintcdn.com/tars-c52ebe98/k37W35HpBrLrDZ5b/images/dashboard/knowledge/website/create-from-kb-step-1.png?fit=max&auto=format&n=k37W35HpBrLrDZ5b&q=85&s=9b34be1c2727e24bb2b44617929b2ffd" alt="Create Agent page showing the Create from Knowledge card option" width="1968" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-1.png" />
    </Frame>

    <Check>
      This opens a modal dialog where you can configure your knowledge-powered Agent.
    </Check>
  </Step>

  <Step title="Select Website data source and customize Agent">
    In the modal, select **Website** as the data source for training your Agent's Knowledge Base and customize the Agent's appearance:

    <Frame>
      <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-2.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=84c9473ccfb202bf8b296e13275a56b7" alt="Data source selection and agent customization options" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-2.png" />
    </Frame>

    **Customization options:**

    * **Data Source**: Choose **Website** to train from web content
    * **Agent Icon**: Select or change the icon representing your Agent

    <Info>
      You can choose from various data sources and customize your Agent's icon. Additional data source options will be introduced in future updates.
    </Info>
  </Step>
</Steps>

<Steps>
  <Step title="Configure Knowledge Base settings" stepNumber={3}>
    Enter the `Knowledge Base Name` and `Website Base URL`, then configure
    advanced scraping settings if needed.

    <Tabs>
      <Tab title="Basic Configuration">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-basic.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=da6f98d31684a928b6c19c8a0ebccf5b" alt="Basic Knowledge Base configuration showing name and URL fields" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-basic.png" />
        </Frame>
      </Tab>

      <Tab title="Advanced Settings">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-advanced.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=b5f632b07bb4bfb24cbf6d03c2e0382b" alt="Advanced settings showing scraping configuration options" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-advanced.png" />
        </Frame>

        **Advanced configuration options:** - **Number of URLs to scrape**: Set the
        maximum number of URLs to crawl (default: 200, maximum: 10,000) - **Number
        of levels deep**: Define how deep the scraper should go into the website structure
        (default: 20, maximum: 100) - **Custom user Agent**: Optional custom user Agent
        string for web requests - **Crawl using only base URLs**: Ensures crawling
        goes only one level deep, ignoring the depth setting - **Use browser**: Enable
        browser-rendered content in the background instead of raw HTML for dynamic
        content - **Use legacy scraper**: Choose between Scrapy (legacy) and Crawl4AI
        (non-legacy) scraping engines
      </Tab>
    </Tabs>

    <Tip>
      **Optimal Settings**: For most websites, the default settings (200 URLs, 20
      levels deep) work well. Use the browser option for JavaScript-heavy sites,
      and choose legacy scraper if you encounter compatibility issues with the
      modern Crawl4AI engine.
    </Tip>
  </Step>

  <Step title="Fetch and process content" stepNumber={4}>
    Click the `Fetch Links` button to begin the web scraping process.

    <Tabs>
      <Tab title="Pre-fetch">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-pre-fetch.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=75e8b0d2b25dce0658e892133e9c89bf" alt="Pre-fetch state showing configuration before starting the scraping process" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-pre-fetch.png" />
        </Frame>
      </Tab>

      <Tab title="While fetching">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-while-fetch.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=9547e5726fd8ef7f2e9a35d8eddef6fe" alt="Active fetching process showing real-time scraping logs and progress" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-while-fetch.png" />
        </Frame>
      </Tab>
    </Tabs>

    **Scraping process:** - **Content discovery**: System discovers and crawls web
    pages, extracting content from each page - **Data processing**: Cleans and
    organizes extracted content for optimal training preparation

    <Warning>
      The fetching process may take several minutes depending on the size of your
      website and the number of pages to scrape.
    </Warning>
  </Step>

  <Step title="Train the Knowledge Base" stepNumber={5}>
    After content is successfully fetched, click `Train` to process and train your
    Knowledge Base.

    <Tabs>
      <Tab title="Pre-training">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-pre-train.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=cffa5a7b81350fc51651b1c62fa2ca32" alt="Pre-training state showing content ready for Knowledge Base training" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-pre-train.png" />
        </Frame>

        **Page selection options:** - Select the pages you want to train - Deselect
        the pages you don't need - View metadata about the number of words fetched
        for each page
      </Tab>

      <Tab title="While training">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-while-train.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=d019ffac702089cd2016dd3b528d5536" alt="Active training process showing real-time training progress and logs" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-while-train.png" />
        </Frame>

        Monitor the training progress as the system: - Processes and indexes the scraped
        content - Creates searchable knowledge embeddings - Optimizes the content for
        AI understanding - Shows detailed training logs and progress
      </Tab>

      <Tab title="Post-training">
        <Frame>
          <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-3-post-train.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=3751f6249a3184698d6d13ece50fdc6a" alt="Post-training state showing completed training with content ready for Agent creation" width="1897" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-3-post-train.png" />
        </Frame>

        **Training completed:** - View the content that has been trained in the knowledge
        base - See the pages and content the Agent now has knowledge of - Training
        is complete and ready for Agent creation
      </Tab>
    </Tabs>

    **Training process:** - **Vector storage**: Content is converted to vector
    embeddings and stored in vector databases for fast retrieval - **Index
    optimization**: Creates efficient search and retrieval system for AI responses
  </Step>

  <Step title="Agent creation complete" stepNumber={6}>
    Your knowledge-powered Agent is now ready!

    <Frame>
      <img src="https://mintcdn.com/tars-c52ebe98/RB0GpoNOdmX6y3VE/images/dashboard/knowledge/website/create-from-kb-step-4.png?fit=max&auto=format&n=RB0GpoNOdmX6y3VE&q=85&s=c2f512b60940ebbba4bbb168a4216667" alt="Completed Agent creation showing the new Agent with Knowledge Base gambit connected" width="1982" height="981" data-path="images/dashboard/knowledge/website/create-from-kb-step-4.png" />
    </Frame>

    **What happens automatically:** - **Agent creation**: Agent is created with
    your specified name and Knowledge Base gambit connected - **Ready to use**:
    Agent can immediately answer questions based on your website content
  </Step>
</Steps>

<Tip>
  **Content Quality**: The effectiveness of your Agent depends on the quality
  and organization of your source content. Ensure your website is
  well-structured and comprehensive.
</Tip>

<Warning>
  **Content Updates**: If your source website changes significantly,
  you may need to retrain your Knowledge Base to ensure the Agent has access to
  the latest information.
</Warning>
