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

# Adding Documents to Knowledge Base

> Learn how to add and manage documents in your Verbex Knowledge Base

<Note>
  **What you'll learn**

  * How to add files documents to your Knowledge Base
  * How to add websites to your Knowledge Base
  * How to manage document-based Knowledge Base content
  * Best practices for organizing and using document-based Knowledge Bases
</Note>

## Add Files Documents to Knowledge Base

* Navigate to your desired knowledge base directory and click on **Add Document** from the upper right corner
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Bd-nkhA8cT0nKgAS/images/kb/general/kb_general_4.png?fit=max&auto=format&n=Bd-nkhA8cT0nKgAS&q=85&s=4b674262145a8e00d40e8a4bfdb2d452" data-path="images/kb/general/kb_general_4.png" />
  </Frame>
* Select **Upload Files** from the dropdown menu
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_5.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=876cd274e0a340e14f5150094f45f04a" data-path="images/kb/general/kb_general_5.png" />
  </Frame>
* Select the files you want to add to the knowledge base and click on **Upload**
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_9.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=d69f77393f2f68c13cae7c260b1ab6ed" data-path="images/kb/general/kb_general_9.png" />
  </Frame>
* Click on **Close** to save the changes

<Note>
  After uploading the files, you can see the files in the knowledge base directory and it's processing status.
  The total size of all uploaded files should be less than or equal to 100 MB. Larger file sizes will increase
  knowledge base searching time.
</Note>

## Add Websites to Knowledge Base

* Navigate to your desired knowledge base directory and click on **Add Website** from the upper right corner
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_5.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=876cd274e0a340e14f5150094f45f04a" data-path="images/kb/general/kb_general_5.png" />
  </Frame>
* Paste the website URL in the input field and click on search icon button.
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_6.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=d4f977c6efa9c372cdc577930495de0f" data-path="images/kb/general/kb_general_6.png" />
  </Frame>
* It will show the website site map. You can select the pages you want to add to the knowledge base and click on select icon button.
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_7.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=aaf2a76894338e5812850158fe07bc7d" data-path="images/kb/general/kb_general_7.png" />
  </Frame>
* After clicking **Add selected pages** button, you can see the website in the knowledge base directory and it's processing status.
  <Frame>
    <img height="212" width="423" src="https://mintcdn.com/hishabsingaporepteltd/Wx-6A5SGbH-ne_kM/images/kb/general/kb_general_8.png?fit=max&auto=format&n=Wx-6A5SGbH-ne_kM&q=85&s=ec20a6fb7582122f14d185df47a81943" data-path="images/kb/general/kb_general_8.png" />
  </Frame>

<Note>
  After adding the website, you can see the website in the knowledge base directory and it's processing status.
  You can select up to 300 pages from the site map. Keeping your selection under this limit ensures optimal performance.
</Note>

<Warning>
  A knowledge base folder can contain multiple documents and websites. The limits (100 MB for files and 300 pages for websites)
  apply to the entire knowledge base, not individual uploads. Plan your content accordingly to stay within these limits for
  optimal performance.
</Warning>

## Best Practices for Structuring Files

<CardGroup cols={2}>
  <Card title="Organize by Topic" icon="folder-tree">
    Create a logical directory structure for your knowledge base to make information easy to find and manage.
  </Card>

  <Card title="Clear and Consistent Formatting" icon="align-left">
    Ensure documents have well-defined headings and use bullet points for better readability when uploading files.
  </Card>

  <Card title="Select Relevant Web Pages" icon="globe">
    When adding websites, carefully choose only the most relevant pages to avoid information overload.
  </Card>

  <Card title="Monitor Processing Status" icon="spinner">
    Check the processing status of your uploaded files and websites to ensure they're properly indexed.
  </Card>

  <Card title="Regular Updates" icon="rotate">
    Periodically review and update your knowledge base content to maintain accuracy and relevance.
  </Card>
</CardGroup>
