# Data Sources

## Ingest from available data sources

Click into a Collection to configure its data sources. ChatBees AI is trained on all data sources configured for this collection.&#x20;

Currently, you must manually re-import from data sources whenever they're updated. We're working on periodic import to make sure your AI is trained on the latest data.  Stay tuned!

## Supported data sources

You can use ChatBees web app to...

1. Upload files (supports `pdf`, `txt`, `md` and `doc`)
2. Crawl a website (up to 200 page are supported from UI, 1000 from API)
3. Import from Notion workspaces&#x20;
4. Import from Google Drive &#x20;
5. Import from Confluence

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FGTWNsgrRGqSlmHmSjH93%2FScreenshot%202024-05-09%20at%203.41.35%E2%80%AFPM.png?alt=media&#x26;token=e9670ea1-9a18-48f8-951c-88416b20d791" alt=""><figcaption></figcaption></figure>

## Upload Files

You can drag-and-drop files directly into the drop zone. We support files with `pdf`, `txt`, `md` and `doc` extensions. [Please contact us](https://docs.google.com/forms/d/e/1FAIpQLSdAB6FLU91oUBJVRcPtpEK3WpgL9cVWethFHx0gAkKhg7LjrQ/viewform) if you need support for other file format.

## Crawl Website

Enter the full URL of the website, including scheme (http\:// or https\://) you would like to crawl. For example, enter `https://www.chatbees.ai` if you would like to crawl all web pages in ChatBees website. Once the crawl is started, **do not** refresh the page!&#x20;

{% hint style="info" %}
Make sure you create separate crawls for each subdomains of your website. For example, you will need to crawl <https://www.chatbees.ai> and [https://docs.chatbees.ai](https://docs.chatbees.ai/chatbees) separately as they're considered different websites.&#x20;
{% endhint %}

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2F3GMg3l4LjU5dlEMq1b1i%2FScreenshot%202024-05-09%20at%203.52.51%E2%80%AFPM.png?alt=media&#x26;token=65a16f8d-70f5-475a-a7d9-81e7b4796dac" alt=""><figcaption></figcaption></figure>

## Import from Notion

{% hint style="info" %}
Need to connect to Notion? See [this guide](https://docs.chatbees.ai/chatbees/manage-connectors#connect-to-notion) for help
{% endhint %}

{% hint style="warning" %}
New imports will overwrite existing imported pages!
{% endhint %}

Click **`Ingest from Notion`** to import all pages that ChatBees was granted access to in Notion.  See [Manage Connectors](https://docs.chatbees.ai/chatbees/web-app-references/manage-connectors) page to configure Notion connector

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FJ45QlEcZfzw5I8i9UPS5%2FScreenshot%202024-05-09%20at%204.09.19%E2%80%AFPM.png?alt=media&#x26;token=e12859fe-e9d0-4f4a-986a-6bd7eabdb28d" alt=""><figcaption></figcaption></figure>

## Import from Google Drive

{% hint style="info" %}
Need to connect to Google Drive ? See [this guide](https://docs.chatbees.ai/chatbees/manage-connectors#connect-to-google-drive) for help
{% endhint %}

{% hint style="warning" %}
New imports will overwrite existing imported pages!
{% endhint %}

Click **`Ingest from GDrive`** to import all supported files from Google Drive. You can either import from a specific folder, or all folders by leaving `Folder name` blank.  See [Manage Connectors](https://docs.chatbees.ai/chatbees/web-app-references/manage-connectors) page to configure Google Drive connector

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FlmCJknYPIOiOxHPBcgvf%2FScreenshot%202024-05-09%20at%204.06.15%E2%80%AFPM.png?alt=media&#x26;token=7bc5c2b1-276f-48ce-8370-5497b5209258" alt=""><figcaption></figcaption></figure>

## Import from Confluence

{% hint style="info" %}
Need to connect to Confluence? See [this guide](https://docs.chatbees.ai/chatbees/manage-connectors#connect-to-confluence) for help
{% endhint %}

{% hint style="warning" %}
New imports will overwrite existing imported pages!
{% endhint %}

Click **`Ingest from Confluence`** to import from Confluence. Select a Confluence Space or input the CQL command, such as `space in ("SPACEKEY1", "SPACEKEY2") and type = "page"`.  See [Manage Connectors](https://docs.chatbees.ai/chatbees/web-app-references/manage-connectors) page to configure Confluence connector.

<figure><img src="https://3491884457-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBw3brbwJZtJpCaf7knY9%2Fuploads%2FVdY7h1ov8ZLgM0n4t1tV%2Fimage.png?alt=media&#x26;token=0cf60c02-5ba5-4a49-a742-06b1d6b89474" alt=""><figcaption></figcaption></figure>
