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

# Website

> Train your agent using website content by linking relevant URLs.

One of the most powerful training methods is through URLs. By selecting the **“Websites”** option and entering a URL, the platform will crawl the site starting from the provided URL, identifying all sub-pages linked beneath it. The system will extract content from these URLs and use the information to enrich the knowledge base. Here’s how to get started:

1. Navigate to the **'Data'** tab.

2. Under **'Sources'**, click on **'Websites'**.

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/train-website.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=247b67cf23af3b03a5b46190228b9fef" alt="Train Website" width="2928" height="1020" data-path="images/train-website.webp" />

3. Select **'Add Website'** and input the URL you want to train from.

4. Toggle the **'Import Sub-Pages'** button to include all linked sub-pages.

5. Click the **'Arrow'** to proceed.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/add-url.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=14678f3686d1751f535c9449763193f3" alt="Add Url" width="2382" height="546" data-path="images/add-url.webp" />

6. A list of URLs will appear—use the checkboxes to select specific URLs or check all of them.

7. Finally, click **'Train All URLs'** to integrate the content into your agent's knowledge base.

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/train-url.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=8f933b3d5e64c0fbe150422fb6b4528d" alt="Train Url" width="2854" height="1578" data-path="images/train-url.webp" />

This method ensures your agent has access to a comprehensive dataset directly from your website.

### **Retraining URLs**

If you've updated content on a webpage and want the agent to relearn from it, follow these steps:

1. **Select the URL(s) to Retrain**

   * Find the list of URLs that have been added to your agent’s knowledge base.

   * Tick the checkbox next to the URL(s) you want to retrain.

2. **Click "Retrain"**

   * Once you've selected the URLs, click the **"Retrain"** button.

   * The system will then fetch the updated content from the webpage and incorporate it into your agent’s responses.

   <img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/retrain-url.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=82b19bcd2beae07f73b905c07f2178a0" alt="Retrain Url" width="2908" height="1610" data-path="images/retrain-url.webp" />

### **Deleting URLs**

If you want to remove outdated or incorrect sources, follow these steps:

* **1. Select the URL(s) to Delete**- Tick the checkbox next to the URL(s) you want to remove.

* **2. Click "Delete"**- Once selected, click the **"Delete"** button to remove the URLs from your agent’s training data.

  <img className="block" src="https://mintcdn.com/chatnode-55/05w5r_aWzpE6k_xA/images/delete-url.webp?fit=max&auto=format&n=05w5r_aWzpE6k_xA&q=85&s=72409d6714c62b7c54bbfa783769ca43" alt="Delete Url" width="2908" height="1628" data-path="images/delete-url.webp" />
