> ## 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.

# [Zapier] Automatically add any datasource to Dust

In this article, we will guide you through how to use the Dust block in Zapier to automatically upload data you want to use as Data Source to Dust.

<Info>
  **No time to read?**

  We have created Zap templates for you if you want to start right away!

  * [**Gmail\<> Dust**](https://zapier.com/apps/dust/integrations/gmail/1760314/upload-new-gmail-emails-to-a-dust-data-source-folder)
  * [**Hubspot\<> Dust**](https://zapier.com/apps/dust/integrations/hubspot/1760323/upload-documents-to-dust-when-new-contacts-are-recently-created-or-updated-in-hubspot)
  * [**Zendesk\<> Dust**](https://zapier.com/apps/dust/integrations/zendesk/1760319/upload-new-zendesk-tickets-to-a-dust-folder)
</Info>

## 1. First, create the [Dust](https://dust.tt) Folder you would like to store your data in

* Go to Dust, *Spaces >\[space name] > Folders >`+ Add a new Folder`*
* Choose a name for your folder (you’ll need it later on!), and save

## 2. Then, go to [Zapier](https://zapier.com/apps/dust/integrations) and create a new Zap

We have created a few templates to automatically add emails with Gmail, data from Hubspot or tickets from Zendesk to help you start quickly.

## 3. Add your `Trigger` event

* Here you should choose the tool you want to extract data from. Select *Gmail* if you want to add email content as data source for instance, or *Zendesk* to upload new tickets.
* Then follow the flow from `App & event`, to `Trigger` and `Test`, and validate.

## 4. Add your `Action` event

* To do so, search for Dust among Zapier integrations:\\

* Then in the `App & event`tab, select **“Upload Document”:**\\

* In the `Account`tab, **follow the instructions to connect Zapier with your Dust account:** you will need your **Workspace ID** (which can be found in your Dust tab URL, right after *dust.tt/w/*), as well as your **Dust API key**, which can be found in `Admin > API Keys > Create an API Key`\\

* In the `Action`tab, you’ll be prompted to fill the following fields:
  * **Folder name**: put here the name of the folder you created in Step 1/
  * **Document ID**: this will be the title of your document in the Dust Folder
  * **Document Content**: put here the content you want to extract to Dust (this will be the content of your document in the Dust Folder)

## 5. Run the Tests, and Publish your Zap

You’re all set!

Once launched, new content in the *Trigger* will automatically be loaded as a new text file in your Folder. You can now select it as a Data Source in the *Actions & Data Sources* tab when you create or edit an agent.
