Dropbox

Creating a Connection

  1. Connect your Dropbox from the dashboard.

    1. If using your personal account, select Personal Account
    2. If using a team account, select Team Account
  2. Select an API key from the dropdown at the top. All documents created by the connection will be attributed to the selected API key.

  3. Select the folder you want to sync. If you choose "My Dropbox" your entire dropbox will be synced.

  4. Fill out any metadata you want to associate with the Dropbox data. You can use this to filter the data later. This is in JSON format. You can leave it blank, or you could set it to something like

  5. {
      "company": "acme"
    }
  6. Select the import mode

  7. Click "Create Connection" at the top right.

You will be taken back to the connectors page, and the system will schedule a sync process for you as soon as possible.

What is synced?

Everything in the dropbox folder you selected, including subfolders.

Metadata

Each Dropbox file includes the following metadata

NameDescriptionExample
folderThe folder name of the fileinvoices
folder_pathThe full path of the folder containing this file/invoices
file_path_arrayAn array of each element in the path of the file["My Drive", "invoices", "invoice_acme_2024.pdf"]
file_pathThe path of the file in Dropbox/pictures/cats/snowball.png

Embedded

User vs Team account

When creating an embedded Dropbox connector, pass in "account_mode": "team" or "user" for config to choose a team or user account.

For example, the body can be

{
  "redirect_uri": "https://secure.ragie.ai/connectors",
  "partition": "dropboxfiles",
  "source_type": "dropbox",
  "metadata": {},
  "mode": "hi_res",
  "theme": "system",
  "page_limit": 1000,
  "config": {
    "account_mode": "team"
  }
}

Metadata

Each Dropbox file includes the following metadata


NameDescriptionExampleCommentsFilterable
source_typedropboxdropbox
connector_idThe id of the connectorbe34a5d6-8e1a-4dba-a57f-24692a7e245f
created_atWhen the file was created2026-04-03T22:43:58.641000+00:00
folderThe folder the file is ininvoices
folder_path/files/invoicesThe full path of the folder the file is in
file_path/invoices/invoice2026.pdfThe full path to the file
file_path_array["invoices", "invoice2026.pdf"]The file path as an array


Did this page help you?