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

# Adding Data to Your Knowledge Base

> Bring in your content from anywhere — files, integrations, URLs, and tables — so your team can search it all in one place

Once your knowledge base is created, bring in the content your team needs to search. Upload files from your computer, connect the apps your team already uses, scrape web pages, or pull in existing VectorShift data — mix and match however you like within a single knowledge base.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-page16-img1.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=35056f45462d3d19f8d98c884ee0f16b" alt="Data ingestion page showing upload, integration, scrape URL, VectorShift files, and table options" width="1100" height="490" data-path="images/platform/knowledge/kb-page16-img1.png" />

## Upload files

The fastest way to get started — drag and drop files directly into the upload zone, or click **Click to Upload** to browse your computer.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-upload-files.gif?s=3aa5b87dd3d9376a3231f817e36adc02" alt="Drag and drop files into the upload zone or click Click to Upload to browse your computer" width="1100" height="490" data-path="images/platform/knowledge/kb-upload-files.gif" />

**Supported file formats:**

| Category     | Formats                                     |
| ------------ | ------------------------------------------- |
| Documents    | doc, docx, pdf, pptx, txt, md               |
| Spreadsheets | csv, xls, xlsx                              |
| Images       | JPEG, PNG, GIF, BMP, TIFF, WebP             |
| Audio        | MP3, WAV, OGG, FLAC, AAC, M4A, WMA          |
| Video        | MP4, MOV, AVI, WMV, FLV, MPEG, MKV, WebM    |
| Data         | JSON                                        |
| Archives     | ZIP (automatically extracted and processed) |

Once you select files, they appear below the upload zone with their name and file size so you can review before processing:

* Click **Delete** next to any file to remove it from the queue.
* Click **Index Files** to start processing. VectorShift automatically chunks, embeds, and indexes everything using your configured settings.

<Tip>Upload multiple files at once — drag and drop is the fastest way to add a large batch.</Tip>

<Tip>Have a ZIP archive? Just upload it directly. VectorShift automatically extracts and indexes the individual files inside.</Tip>

## Upload folder

Need to index an entire directory at once? Click **Upload Folder** to select a folder from your machine. All supported files inside are uploaded and indexed together, and the folder structure is preserved in your knowledge base for easy organization.

## Add integration

Keep your knowledge base automatically up to date by connecting the tools your team already uses. Click **Explore Apps** in the **Sync with your apps** section to browse available integrations and pull data directly into your knowledge base.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-page18-img1-new.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=85acf5413f117386c09dba83634fa935" alt="Add Integration page showing Existing Connections, Connect New Apps, Suggested Apps, and Explore Apps" width="1100" height="490" data-path="images/platform/knowledge/kb-page18-img1-new.png" />

The integration page is organized into two sections:

* **Existing Connections** — apps you've already connected, showing their status (e.g., Gmail with 1 connected, Google Drive with 1 connected). Click any connected app to select which data to pull in.
* **Connect New Apps** — browse all available integrations. **Suggested Apps** appear at the top for quick access, with the full list under **Explore Apps**. Use the search bar to find a specific app, then click **+ Connect** to authenticate.

For the full list of available integrations, see the [Reference](/platform/knowledge/reference#available-integrations) page.

### Adding a new integration

Find the app you want under **Connect New Apps** and click **+ Connect**. Complete the authentication flow to grant VectorShift access, and the integration will appear under **Existing Connections** — ready to pull in data.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-adding-new-integration.gif?s=52bc54bacaf200d046d4ed3a1f13ea50" alt="Adding a new integration by clicking Connect and completing the authentication flow" width="1100" height="490" data-path="images/platform/knowledge/kb-adding-new-integration.gif" />

### Selecting an existing integration

Already connected an app? Click on it under **Existing Connections** to choose exactly which data to bring in — specific files, folders, channels, or other items depending on the app.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-selecting-existing-integration.gif?s=04bf6e6d523f15217a800807153ec2ba" alt="Selecting an existing integration to choose which data to pull in" width="1100" height="490" data-path="images/platform/knowledge/kb-selecting-existing-integration.gif" />

### Updating permissions

Need to expand or restrict what VectorShift can access? Click on the integration under **Existing Connections** and modify the access scope — no need to disconnect and reconnect.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-updating-permissions.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=c02a71f7a0d6501dfd6aeb74665f507f" alt="Set Permissions dialog showing enabled actions like Knowledge Base Indexing, Read Doc, and more" width="1100" height="490" data-path="images/platform/knowledge/kb-updating-permissions.png" />

### Setting a default account

If you have multiple accounts for the same app (e.g., two Slack workspaces), set one as the default so the right data flows in automatically.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-setting-default-account.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=f1f1cd3d56d3369145db2e5abd860aeb" alt="Existing Connections page showing Set as default option on a Slack workspace" width="1100" height="490" data-path="images/platform/knowledge/kb-setting-default-account.png" />

### Testing connection status

Connected integrations show the number of active connections at a glance. If a connection has issues, re-authenticate by clicking **+ Connect** again to restore the sync.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-testing-connection-status.gif?s=257cb49cc048344149d4dcbfbd756c0d" alt="Testing connection status for an integration" width="1100" height="490" data-path="images/platform/knowledge/kb-testing-connection-status.gif" />

### Changing rescrape frequency

Control how often VectorShift checks for new or updated content from your integrations. More frequent syncing keeps search results fresher; less frequent syncing reduces processing load.

<Tip>Once connected, integrations stay synced automatically — so when your team adds new files to Google Drive or posts in Slack, the content becomes searchable without any manual work.</Tip>

## Import with URL

Make any web page or entire website searchable. Click **Import with URL** to scrape content and add it to your knowledge base.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-page18-img2.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=0d7f4224c0370b69e2c1c2fecbd1f584" alt="Data ingestion page with Import with URL button highlighted" width="1100" height="490" data-path="images/platform/knowledge/kb-page18-img2.png" />

**URL** (required)

Enter the web page URL you want to scrape (e.g., [https://example.com](https://example.com)). To import multiple URLs at once, click **Upload CSV** to the right of the field and upload a CSV file containing your URLs.

**Scrape subpages**

Index an entire documentation site or blog from a single root URL. Check this box to automatically crawl and scrape all linked pages.

When you enable Scrape subpages, additional fields appear to help you scope the crawl:

| Field              | What it controls                                               | Default |
| ------------------ | -------------------------------------------------------------- | ------- |
| Max Recursive URLs | The maximum number of pages to scrape                          | 100     |
| Max Depth          | How many link levels deep to crawl from the root URL           | 5       |
| Same Domain Only   | When on, only scrapes pages on the same domain as the root URL | On      |
| Load Sitemap       | When checked, uses the site's sitemap to discover pages        | Off     |

<Tip>For large sites, start with a lower Max Depth (2 or 3) and Same Domain Only turned on to keep the crawl focused. You can always add more URLs later.</Tip>

**Rescrape frequency**

Keep your indexed web content up to date automatically. Choose how often VectorShift re-scrapes the URL to pick up changes:

| Option  | Behavior                      |
| ------- | ----------------------------- |
| Never   | Scrape once and do not update |
| Daily   | Re-scrape every day           |
| Weekly  | Re-scrape every week          |
| Monthly | Re-scrape every month         |

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-page20-img1.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=349bc3558462e2a7b8c229d2266e72fa" alt="Scrape URL dialog showing URL field, scrape subpages option, and rescrape frequency dropdown" width="1100" height="490" data-path="images/platform/knowledge/kb-page20-img1.png" />

**Advanced settings**

Expand this section to access additional scraping options:

* **Use Proxy**: Route the scrape through a proxy — helpful when the target site blocks direct requests.
* **Use Personal Apify key**: Use your own Apify API key for more control over web scraping. You can enter it here in the URL indexing dialog or in the knowledge base's advanced settings.

Click **Add Document** to start scraping, or **Cancel** to close the dialog.

<Tip>For websites that update frequently (like news sites or product docs), set a rescrape frequency so search results always reflect the latest content — no manual re-indexing needed.</Tip>

## Add from VectorShift files

Already have files in VectorShift's file storage? Reuse them here instead of uploading again. Click **Add VectorShift Files** to browse and select files.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-page21-img1.png?fit=max&auto=format&n=TQoiW4Yvsg0FccvI&q=85&s=49ca080fddb9269c6aca89d9fe516b33" alt="Add from files dialog showing file browser with search and file selection" width="1100" height="490" data-path="images/platform/knowledge/kb-page21-img1.png" />

* Use the search bar to find a specific file.
* Navigate folders starting from **Home**.
* Select one or more files using the checkboxes.
* Click **Add** to import the selected files into your knowledge base, or **Cancel** to close.

## Index VectorShift table

Make your structured data — CRM records, product catalogs, inventories — searchable with natural language. Click **Index VectorShift Table** to select a table to index.

<img src="https://mintcdn.com/vectorshift/TQoiW4Yvsg0FccvI/images/platform/knowledge/kb-index-vectorshift-table.gif?s=197764f37672807ceceff2bd1d6dda15" alt="Indexing a VectorShift table into your knowledge base" width="1100" height="490" data-path="images/platform/knowledge/kb-index-vectorshift-table.gif" />

* Use the search bar to find a specific table.
* Navigate from **Home**.
* Select a table using the checkbox.
* Click **Index** to index the table's data into your knowledge base, or **Cancel** to close.

<Tip>Once indexed, your team can ask questions like "Which customers renewed last quarter?" and get answers directly from the table data.</Tip>
