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

# Website

> Learn how to use your website as a source to automatically pull content into your AI Agent’s knowledge.

Using the Website source, you can easily **"crawl"** the pages on your website (using a sitemap, your root domain, or manually added URLs) and **integrate** that information into your AI Agent.

Once crawled, your AI Agent can use this knowledge to answer questions quickly and accurately, and keeps your AI Agent up to date with the **latest information** on your website without manual updates or documents.

## Adding a Website Source

**1. Open your AI Agent**

Go to **Agents** in the main menu and select the relevant AI Agent.

![Website Menu](https://mintcdn.com/watermelon/SnvqguCHhaAI544H/images/features/website/website-menu.png?fit=max\&auto=format\&n=SnvqguCHhaAI544H\&q=85\&s=192665b9ce7e484b4c2a2d07c535b655)

**2. Navigate to Website**

In the Agent menu, click **Website** to view your website settings, URL list, and crawling options.

![Website Website](https://mintcdn.com/watermelon/gPQ-0zAmhgSTI442/images/Navigate-website-crawl.png?fit=max\&auto=format\&n=gPQ-0zAmhgSTI442\&q=85\&s=6150129f010e8d0e6e073b228f6d10f8)

**3. Fetch URLs**

![Website Sitemap](https://mintcdn.com/watermelon/gPQ-0zAmhgSTI442/images/fetch-urls-website.png?fit=max\&auto=format\&n=gPQ-0zAmhgSTI442\&q=85\&s=cbed3e22579d58959c338130201598d0)

You can add URLs in three different ways:

* **Option A:** Add your sitemap (recommended)
  * This gives the **most complete** list of URLs.
    > [!TIP]
    >
    > **Example:** ✅ `https://website.com/sitemap.xml`
* **Option B:** Fetch URLs from your root domain
  * Add your homepage (e.g., `https://website.com`) and the system will attempt to **discover pages** across the site.
* **Option C:** Add URLs manually
  * Use this for specific pages you want to include **without** crawling the whole site.

After selecting the type of URL, click **Fetch URL's**. Fetched URLs appear in a **table**. This includes:

* The **URL**
* The **date** added
* **Status** indicators
* Toggles for **including/excluding** and for link-sharing

Depending on your **site size,** fetching may take a few moments

> [!WARNING]
>
> In legacy plans, if you reach the size limit of your Agent, you'll need to remove sources to **crawl**.

**4. Customize URL usage**

![Website Customize Urls](https://mintcdn.com/watermelon/gPQ-0zAmhgSTI442/images/customize-url-website.png?fit=max\&auto=format\&n=gPQ-0zAmhgSTI442\&q=85\&s=ec52a2f487232f058553acab8edb9f23)

After a URL is fetched, you can choose at any time to:

* **Include** → content will be **added** to the AI Agent
* **Exclude** → page content will be **ignored**
* **Delete URL** → Removing a URL also removes its **stored** content.

These settings let you **fine-tune** which parts of your website your AI Agent uses.

**5. Crawl Agent**

Once your URLs are prepared, select **Crawl** to update your Agent.

![Website Synchronize](https://mintcdn.com/watermelon/gPQ-0zAmhgSTI442/images/crawl-urls-website.png?fit=max\&auto=format\&n=gPQ-0zAmhgSTI442\&q=85\&s=f5772d3f787b06beabe9a9920564ab2d)

### **Crawl statuses**

* **Crawled** – Content added successfully
* **Not Crawled** – Not processed yet
* **Queued** – Waiting to be processed
* **Excluded** – Skipped by your choice

**6. Enable Premium Crawling (optional)**

> [!NOTE]
>
> Premium Crawling is available on **Business and Enterprise plans**

If your website uses JavaScript to load important content, you can enable **Premium Crawling** before starting the crawl.

Premium Crawling renders JavaScript-generated content, allowing your AI Agent to access information that may not be picked up by a standard crawl.

This can include:

* Content that appears after the page has loaded
* Tabs, expandable sections, or other dynamically generated content
* Content from websites built with frameworks such as React, Vue, or Angular

To enable it, turn on **Premium Crawling** in the **Sources** panel on the right.

![Premium Crawl 2](https://mintcdn.com/watermelon/cSEUyQEf_2D-ReAD/images/premium-crawl-2.png?fit=max\&auto=format\&n=cSEUyQEf_2D-ReAD\&q=85\&s=33c559a670ece7a0a7111521e9715360)

**7. Crawled information**

After a URL has been crawled, you can click **Details** next to the URL to view the exact information that was extracted from the page. This helps you make sure the information on your website is part of your AI Agent’s knowledge.

![Crawl Details 1](https://mintcdn.com/watermelon/cSEUyQEf_2D-ReAD/images/crawl-details-1.png?fit=max\&auto=format\&n=cSEUyQEf_2D-ReAD\&q=85\&s=1eeb26a805976eef6c3485705df23fde)

### Important behavior notes

* The crawling process may take up to **24 hours** to complete
* You do **not** need to stay on the page or stay logged in; the crawling process will continue automatically
* Failed pages will be retried up to **50 times** before marking a URL as failed
* If crawling a sitemap or domain finishes **within seconds**, it may indicate access issues or a technically difficult site.
* If progress appears **stuck** at 90–100%, the system is still retrying a small number of slower or temporarily unavailable URLs.

> [!WARNING]
>
> Be sure to **re-crawl after website updates** to refresh your AI Agent's knowledge!

## Troubleshooting

Common reasons a URL **cannot** be crawled include:

* robots.txt **restrictions**
* The page **blocks** crawlers.
* Incorrect or **inaccessible** URLs
* **Typos**, wrong protocol, or pages that do not load.
* **Anti-bot** protection
* **CAPTCHAs** or bot detection systems block access.
* Server **errors**
* 404, 500, 504, or temporary **downtime.**
* IP or geographic **restrictions**
* Some sites **block** scraping or certain regions.
* Server **overload**
* Too many requests can cause **timeouts.**

Try correcting the URL, batching crawls, or retrying later.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.