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

# Adding Webpage Data Sources

Webpages are one of the most powerful ways to enrich your Datastore.\
By connecting a webpage, your agent can directly reference and learn from the content of online resources like documentation, blogs, FAQs, or changelogs — ensuring answers stay **accurate and updated**.

This guide walks through how to add a **webpage as a data source**, configure **Auto-Sync schedules**, and monitor updates with **Sync History**.

***

## Step-by-Step Guide

<Steps>
  <Step title="Open a Datastore and navigate to Data Sources">
    Select the **Datastore** where you want to add external knowledge.\
    Inside, go to the **Data Sources** tab. Here you’ll see all linked sources that feed information into your Datastore.

    Click **Add new data source** to start adding content.

    <Frame caption="Data Sources: Begin adding a new source">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step1.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=6719411c6d6cafbaa028f3f5163f2657" alt="Add new data source button inside a Datastore" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step1.png" />
    </Frame>
  </Step>

  <Step title="Choose Webpage as the data source type">
    The system supports multiple types of sources (Files, Text, GitHub, REST API, etc.).

    Select **Webpage**, paste the target URL, and click **Create**.\
    This will crawl the page content and add it into the Datastore.

    <Frame caption="Pick Webpage and provide the URL">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step2.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=9527a70329c211b472d618a820a95294" alt="Select Webpage source option" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step2.png" />
    </Frame>
  </Step>

  <Step title="Confirm the Webpage is added successfully">
    Once processed, the webpage source will appear in the list of sources.

    Each entry shows:

    * **Source Type** (Webpage, File, etc.)
    * **Title of the page**
    * **Inclusion Status** (e.g., Included in knowledge corpus)
    * **Processing State** (FINISHED, PENDING, etc.)

    At this point, your agent can already use this content.

    <Frame caption="Webpage data source created and active">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step3.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=020146f4a4d1f5a6e4b041edd168557d" alt="Webpage successfully added to datastore" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step3.png" />
    </Frame>
  </Step>

  <Step title="Enable Auto-Sync to keep data fresh">
    Webpages often change — new docs, updated FAQs, or product details.\
    To avoid outdated answers, toggle **Auto-Resync** on the source card.

    This ensures the system automatically re-crawls the page at set intervals.

    <Frame caption="Toggle Auto-Sync on the webpage source">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step4.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=7db5ea73c4f63a1d0a4840e6936194e9" alt="Enable Auto-Resync for the webpage source" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step4.png" />
    </Frame>
  </Step>

  <Step title="Choose a sync frequency">
    When Auto-Sync is enabled, you can define how frequently the page should be re-processed.

    Options include:

    * Every hour / 3h / 6h / 12h / 24h
    * Specific weekdays (e.g., every Monday, every Friday)

    Pick a schedule that matches how often the page changes. For example, news sites may need hourly syncs, while product docs may only need daily updates.

    <Frame caption="Set Auto-Resync frequency">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step5.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=d634c481f515940d6d26fca9b16dc07d" alt="Configure sync schedule for webpage" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step5.png" />
    </Frame>
  </Step>

  <Step title="Use Sync Now for instant updates">
    If urgent changes happen on the webpage and you don’t want to wait for the next scheduled sync, click **Sync Now**.

    This immediately reprocesses the page and refreshes the Datastore with the latest version.

    <Frame caption="Manual Sync Now option">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step6.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=53aa8647b604b533828f7b48e234e9fd" alt="Manual sync now option on the data source card" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step6.png" />
    </Frame>
  </Step>

  <Step title="Monitor Sync History">
    To track all re-crawls, click **History** on the source card.\
    Here you can see:

    * Number of syncs performed
    * **Success rate** (were syncs successful or failed)
    * **Content changes** (if any new text was detected)
    * **Average processing time**

    This is helpful for auditing and ensuring data freshness.

    <Frame caption="Check sync history for detailed logs">
      <img src="https://mintcdn.com/aptlytechnologies/vDLJSIWAPXqOAsmH/images/datastoreconsole/web-datasource-step7.png?fit=max&auto=format&n=vDLJSIWAPXqOAsmH&q=85&s=eca36ba29ea990e7fc44f290b48bc2e0" alt="Sync history details of a webpage source" width="2000" height="1066" data-path="images/datastoreconsole/web-datasource-step7.png" />
    </Frame>
  </Step>
</Steps>

***

## ✅ Key Takeaways

* Webpages are a simple way to continuously feed **dynamic, public content** into your Datastore.
* Use **Auto-Sync** for hands-free updates, and **Sync Now** for urgent refreshes.
* Track updates with **Sync History** to ensure your agent always has the most accurate knowledge.

<Check>
  Keeping your web data sources updated ensures your AI agents always provide **relevant, reliable, and up-to-date answers**.
</Check>
