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

# Add a Website

> Connect public websites to your Phonely knowledgebase

You can connect public websites to your agent Knowledge Base, allowing your AI agent to reference and retrieve information directly from online resources. This is useful for linking public documentation, blogs, or FAQs that are regularly updated.

<img src="https://mintcdn.com/phonely/SUA4W4mluYLba7OM/assets/connect-websites-to-knowledgebase.gif?s=bb250bdb1d12db06e345fc92553a912d" alt="Connect Websites To Knowledgebase Gi" width="1300" height="720" data-path="assets/connect-websites-to-knowledgebase.gif" />

<Steps>
  <Step title="Navigate to the Knowledge Base">
    From the left sidebar, go to **Agent Design > Knowledge Base**, then switch to the **Websites** tab. This section lists all websites currently connected to your knowledge base.
  </Step>

  <Step title="Click “Add Website”">
    At the top left of the Websites tab, click **Add Website**.  A dialog box will appear where you can add a new website source.
  </Step>

  <Step title="Enter the Website URL">
    In the URL field, type the full website address (e.g.,`https://example.com`).\
    Phonely will automatically crawl this URL and all accessible sub-pages.

    <Tip>
      Only public websites can be added. If the site requires authentication or is not publicly available, consider uploading its documentation as a file instead.
    </Tip>
  </Step>

  <Step title="Configure Advanced Options (Optional)">
    Click **Advanced** to expand additional settings. These allow you to fine-tune how Phonely crawls the website.

    <Expandable title="Configuration Details">
      * **Limit:** Define the maximum number of pages to crawl.
      * **Max Depth:** Control how deep the crawler goes into sub-pages (e.g., a depth of 1 includes linked pages directly under the main URL).
      * **Exclude Paths:** Add URL patterns to skip specific sections (e.g.**, /blog/\*, /products/\***).
      * **Include Paths:** Specify URL patterns you want the crawler to include (e.g., **/docs/\*, /support/\***).
    </Expandable>
  </Step>

  <Step title="Add and Activate the Website">
    Once all fields are set, click **Add Website**.                                    \
    The website will appear under your **Data Sources > Websites** list, showing details such as:

    <Expandable title="Details">
      * Name and URL.
      * Last Updated By / Last Updated At.
      * Usage Mode (Full Context or Chunked).
      * Active Status.
    </Expandable>

    <img src="https://mintcdn.com/phonely/THDEn_t5FsTvKxwm/assets/add-website-knowledgebase.png?fit=max&auto=format&n=THDEn_t5FsTvKxwm&q=85&s=e3bc2c44c38dfeb5c575cee271128157" alt="Add Website Knowledgebase Pn" style={{ width:"100%" }} width="5976" height="1456" data-path="assets/add-website-knowledgebase.png" />

    Make sure the toggle next to the website is enabled (green) to allow your AI agent to use it as a knowledge source.
  </Step>
</Steps>
