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

# Train Your Chatbot on Website Content

> Add your website URL or specific page links to train your chatbot on your existing web content.

Training your chatbot on your website content is the most common way to get started with SiteSpeakAI. You can either crawl an entire website or add specific page URLs.

***

## Website Source

Use the Website option to automatically crawl and discover pages from your website.

<Steps>
  <Step title="Go to Training & Content">
    In your chatbot dashboard, click **Training & Content** in the sidebar.
  </Step>

  <Step title="Select Sources">
    Click on **Sources**.
  </Step>

  <Step title="Click Add Sources">
    Click the **+ Add Sources** button.
  </Step>

  <Step title="Select Website">
    From the source type dropdown, select **Website**.
  </Step>

  <Step title="Enter your website URL">
    Enter your website URL in the **Website URL** field.
  </Step>

  <Step title="Crawl Website">
    Click the **Crawl Website** button. SiteSpeakAI will scan your website and discover available pages. This may take a minute or two depending on the size of your website.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/espressodev/8rU1VEaup98ibNvl/images/training-your-chatbot/website-source.png?fit=max&auto=format&n=8rU1VEaup98ibNvl&q=85&s=83ff7a32c983e977d587b981fbc1479b" alt="Website source input" width="3434" height="1914" data-path="images/training-your-chatbot/website-source.png" />
</Frame>

### Selecting Pages to Train

After crawling, you'll see a list of discovered pages with their URLs and content sizes.

<Steps>
  <Step title="Review discovered pages">
    Browse the list of pages found on your website.
  </Step>

  <Step title="Select pages">
    Use the checkboxes to select which pages you want to train your chatbot on. You can select all or choose specific pages.
  </Step>

  <Step title="Add Selected">
    Click the **Add Selected** button to add the chosen pages as training sources.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/espressodev/8rU1VEaup98ibNvl/images/training-your-chatbot/website-pages-list.png?fit=max&auto=format&n=8rU1VEaup98ibNvl&q=85&s=7231952b090024f6ee491c926294ee48" alt="List of discovered website pages" width="3434" height="1914" data-path="images/training-your-chatbot/website-pages-list.png" />
</Frame>

<Tip>
  Focus on pages with valuable content like product pages, FAQs, help articles, and documentation. Skip pages with minimal content like login pages or utility pages.
</Tip>

### Auto-Sync Website

Instead of manually selecting pages, you can set up automatic syncing that crawls your website daily and keeps your training data up to date.

<Steps>
  <Step title="Enable auto-sync">
    Before crawling, check the **Auto-sync website pages daily** checkbox below the URL input field.
  </Step>

  <Step title="Set exclusion patterns (optional)">
    Open **Advanced Options** to add URL exclusion patterns. Any URLs matching these patterns will be skipped during crawling. For example, you can exclude `/admin/*` or `/login`.
  </Step>

  <Step title="Create auto-syncing website">
    Click the **Create Auto-Syncing Website** button. SiteSpeakAI will crawl your website, discover all pages, and set up daily automatic syncing.
  </Step>
</Steps>

Once set up, SiteSpeakAI checks your website daily for changes:

* **New pages** are automatically discovered and added as training sources
* **Removed pages** are cleaned up and removed from your training data
* **Exclusion patterns** are applied on every sync cycle

<Note>
  Auto-sync for websites requires the **Pro Plus** plan or higher.
</Note>

***

## Link Sources

Use the Links option to add specific page URLs directly, without crawling an entire website.

<Steps>
  <Step title="Go to Training & Content">
    In your chatbot dashboard, click **Training & Content** in the sidebar.
  </Step>

  <Step title="Select Sources">
    Click on **Sources**.
  </Step>

  <Step title="Click Add Sources">
    Click the **+ Add Sources** button.
  </Step>

  <Step title="Select Links">
    From the source type dropdown, select **Links**.
  </Step>

  <Step title="Enter your URLs">
    Enter the page URLs you want to train on in the **Link URLs** field. Separate each link by a new line.
  </Step>

  <Step title="Fetch Links">
    Click the **Fetch Links** button to retrieve the content from each URL.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/espressodev/8rU1VEaup98ibNvl/images/training-your-chatbot/link-source.png?fit=max&auto=format&n=8rU1VEaup98ibNvl&q=85&s=f0f686fa8e31fcda3d4614e50e84b379" alt="Link source input" width="3434" height="1914" data-path="images/training-your-chatbot/link-source.png" />
</Frame>

### Selecting Links to Train

After fetching, you'll see each URL with its content size.

<Steps>
  <Step title="Review fetched links">
    Check the list of URLs and their content sizes.
  </Step>

  <Step title="Select links">
    Use the checkboxes to select which links you want to train on.
  </Step>

  <Step title="Add Selected">
    Click the **Add Selected** button to add the chosen links as training sources.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/espressodev/8rU1VEaup98ibNvl/images/training-your-chatbot/link-pages-list.png?fit=max&auto=format&n=8rU1VEaup98ibNvl&q=85&s=71b8f1d6bdc39e908775a7b2c46042bf" alt="List of fetched link pages" width="3434" height="1914" data-path="images/training-your-chatbot/link-pages-list.png" />
</Frame>

***

## Website vs Links: When to Use Each

| Use Case                                   | Recommended Option |
| ------------------------------------------ | ------------------ |
| Train on your entire website               | **Website**        |
| Train on specific pages only               | **Links**          |
| Add pages from multiple different websites | **Links**          |
| Discover pages you might have missed       | **Website**        |
| Add a single blog post or article          | **Links**          |

***

## Managing Your Trained Sources

After adding sources, they'll appear in your Sources list with their training status.

<Frame>
  <img src="https://mintcdn.com/espressodev/8rU1VEaup98ibNvl/images/training-your-chatbot/trained-sources.png?fit=max&auto=format&n=8rU1VEaup98ibNvl&q=85&s=4152bfbf3ebbc95046c0dc808031555a" alt="Trained sources list" width="3434" height="1914" data-path="images/training-your-chatbot/trained-sources.png" />
</Frame>

Each source shows:

* **Name**: The page title
* **URL**: The source URL
* **Type**: Link icon for web sources
* **Size**: Content size (e.g., 5.8 KB)
* **Status**: Training status (Trained, Training, Pending, Error)
* **Auto**: Whether auto-sync is enabled
* **Last Trained**: When it was last processed

### Keeping Content Updated

To update your trained content when your website changes:

<Steps>
  <Step title="Select sources">
    Use the checkboxes to select the sources you want to update.
  </Step>

  <Step title="Click Retrain">
    Click the **Retrain** button to re-fetch and retrain on the latest content.
  </Step>
</Steps>

<Tip>
  Enable **Auto Sync** on important sources to automatically keep them updated.
</Tip>

***

## Best Practices

* **Start with key pages**: Train on your most important content first (FAQs, product pages, documentation)
* **Review content quality**: Ensure pages have meaningful text content, not just images or videos
* **Remove duplicates**: Avoid training on multiple pages with the same content
* **Update regularly**: Retrain sources when your website content changes significantly

***

<Card title="Ready to automate your customer service with AI?" icon="bot" href="https://sitespeak.ai/register?utm_source=docs&utm_medium=cta&utm_campaign=primary-cta" arrow="true" cta="Create Your AI Agent">
  Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.
</Card>
