Dropbox

Authentication

Dropbox uses Oauth 2.0 to connect. This means that you will need to create an app in the developer portal for Dropbox, and an authorized user for that app must complete the authentication in Middle.

1

Create a new Dropbox app

Go to the Dropbox App Console and complete the below steps:

  1. Click Create App

  2. Chooe the API - Scope Access

  3. Choose App Folder Access

  4. Click Create App

2

Add the re-direct URL for the Middle instance

Add https://YOURINSTANCENAME.middle.app/oauth-redirect-uri/ to the Redirect URIs and click Add.

If you have questions about your instance's name, please reach out to [email protected]

3

Choose app scopes

Navigate to the Permissions tab and ensure file.contents.read is checked. Hit Submit at the bottom to save changes.

4

Retrieve the app key and secret

  1. Navigate to the Settings tab.

  2. Scroll to the App Key and App Secret area

  3. Provide these credentials securely to the Middle team

We recommend using a service like OneTimeSecret to send secure credentials. There is no charge to use OneTimeSecret.

5

Review your Dropbox folders

After this is set up, you should see a new folder in your Dropbox called Apps, and inside a folder for the new app you created.

6

Authenticate Dropbox in Middle

Once the API Key has been set up, you will be able to authenticate Dropbox from your Middle account.

  1. By default, your authentication is connected to the root folder of the App Folder you've connected, meaning any files you drop in there would be selected. However, this integration is not recursive, meaning any folders within the App Folder will not be searched.

  2. You can optionally add a subfolder as part of authenticating your Middle account. For folder content syncs, we would retrieve any files inside the folder you indicate.

    1. You will need to add the lower-case file path name for the folder.

    2. Ex: "/new folder" is the file path for the folder called "New Folder"

    3. You can come back and do this step later if needed - it's not required for initial authentication.

    Adding a new folder path via the Middle authentication
  3. Hit Save

The new folder created by the Middle authnetication
7

Launch the OAuth flow

You will then see a screen like this:

  1. Ensure the correct API key is selected

  2. Hit Save

  3. Hit Launch OAuth Flow and authenticate with a user who either created or has developer access to the App created in the Dropbox App Console

    1. Sign in (if not already), and authorize the connection

    2. This should redirect you back to Middle with “oAuth Success”

If you are not redirected to Middle please reach out to [email protected]

Setup a Dropbox folder for email attachment receiving

You can setup a unique email address for your Dropbox folder to receive emails and store attachments as files.

To do this, use the Email to Dropbox app:

Last updated

Was this helpful?