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

# Folders

> Upload documents and tables to a folder in a Space, or send them with the API, to give agents knowledge that isn't in a connected tool.

A folder holds documents and tables that you add to Dust yourself. Use folders for content that isn't in a connected tool, like exported reports, CSV files, or documents generated by your own systems. Agents use folder content like any other data source: they can search its documents and query its tables.

## Create a folder

**1. Open the Space**

Open the Space where the content should be available, and click **Add data** > **Upload data**.

**2. Create the folder**

Click **Create folder**, give it a name and a description, and save.

In a regular Space, members can create folders. In the Company Data Space, only admins, managers, and the people and groups selected in its **Space settings** can. Only people with access to the Space can use the folder in their agents.

To delete a folder, open it, click **Edit folder**, then **Delete folder**. Dust shows which agents use the folder before you confirm.

## Add content

In the folder, click **Add data** and pick an option:

* **Create a document**: paste text or upload a file, like a PDF, a Word document, or a text file. The size limit depends on your plan and is shown in the form.
* **Create a table**: upload a CSV or Excel (.xlsx) file. Agents query tables with [table queries](https://docs.dust.tt/docs/user-documentation/agents/knowledge/table-queries.md).
* **Upload files**: add several files at once. Spreadsheets (CSV, XLS, or XLSX) become tables, and other files become documents.

To keep a folder in sync with another system, send documents and tables with the API. See [Upsert a document](https://docs.dust.tt/api-reference/datasources/upsert-a-document-in-a-data-source.md) and [Upsert a table](https://docs.dust.tt/api-reference/datasources/upsert-a-table.md).

## Folders and @dust

The @dust agent searches the folders in the Company Data Space, along with your connections. Folders in other Spaces are only used by the agents they're added to.

## Related

> [card] [Data sources overview](https://docs.dust.tt/docs/user-documentation/data-sources/overview.md)
>
> Compare connections, folders, and websites.

> [card] [Table queries](https://docs.dust.tt/docs/user-documentation/agents/knowledge/table-queries.md)
>
> Query the tables in your folders.

> [card] [Connections](https://docs.dust.tt/docs/user-documentation/data-sources/connections.md)
>
> Sync content from your tools instead.

> [card] [Knowledge](https://docs.dust.tt/docs/user-documentation/agents/knowledge)
>
> Choose how agents use your data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.