Skip to main content
All CollectionsPartnerships
Dropbox - How do I set up my partner credentials for OAuth?
Dropbox - How do I set up my partner credentials for OAuth?

How to set up your own Dropbox OAuth App to enable end-user's to link their accounts

Updated this week

Overview

Dropbox requires each customer to host their own OAuth app. You can still use our Merge Demo OAuth app for testing purposes, but before you launch into production, you must use your own Dropbox OAuth app.

Below are instructions on how to get your Dropbox OAuth app set up with Merge.

Instructions

Step 1: Create a developer account

  1. Sign up for a developer account here.

  2. Click Create apps to sign up.

Step 2: Setup your Dropbox OAuth app

  1. Once you’re done signing up, navigate Developers Apps.

  2. Click Create app.

  3. Choose “Scoped access” and “Full Dropbox”, so that your app has access to all files & folders.

  4. On the Settings page for the app, set the following items:

    • Click Enable additional teams to enable your end users in teams to link their Dropbox app.

    • Click Enable additional users to enable your end users to link their Dropbox app.

    • Add the following to the "Redirect URIs" https://app.merge.dev/oauth/callback

  5. On the “Permissions” page for the app, enable the permissions listed below. View the table at the bottom of this page for a more granular breakdown of the permission details per use case.

    • account_info.read

    • files.metadata.write

    • files.metadata.read

    • files.content.write

    • files.content.read

    • sharing.write

    • sharing.read

  6. Hit Submit in the modal at the bottom to save your changes.

  7. Navigate to “Branding” and fill in the details of your app.

Step 3: Add your Dropbox app details to Merge

  1. On the Merge Dashboard, navigate to the Integrations tab.

  2. Under File Storage, identify the Dropbox integration.

  3. Enable the integration using the toggle on the right.

  4. Click Set up organization-level credentials.

  5. Enter the following information in the corresponding fields

Step 4 (Bonus): Apply to become a production app

If you have under 50 users or 5 teams, you don't need your Dropbox app to be in production mode in order to support this integration. However, if you'd like to apply for production, follow the steps below:

  1. In your Dropbox App Console, click on the app you want to apply for production.

  2. Click Apply for Production.

  3. Fill in the following items:

    1. Check the My app will need to link with more than 50 Dropbox users box

    2. Fill out the subsequent set of questions that appear:

      1. What does your app do: 2-3 sentences about what your app does. You do not have to include Merge.

      2. How does your app use the Dropbox API: Mention how your product uses a third-party integration tool called Merge Unified File Storage API to power your Dropbox integration. In your integration you will:

        • GET all Folder/File, so that our customers can sync & view all their Files.This utilizes the “/list_folders” endpoint.

        • GET all Users & File Permissions, so that our customers don’t see files they shouldn’t have access to. This utilizes the "/list_folder_members” and “/list_shared_links” endpoints.

        • POST File/Folder, so that our customers can create File/Folder. This utilizes the “/create_folder” and “/upload” endpoints.

        • Download File, so that we can analyze file content to generate insights for our customers. This utilizes the “/download” and “/export” endpoints.

  4. Click Submit app once you’ve filled in the required fields. Dropbox should get back to you within a couple days!

Permissions

Permissions defined by use case below:

Permission

Dropbox endpoints Merge call

Use case

account_info.read

/get_current_account

To pull the root Dropbox namespace to retrieve files & folders from

files.metadata.write

/properties/overwrite

To modify file metadata (in the future)

files.metadata.read

/get_metadata

Retrieve file & folder metadata like name & size

files.content.write

/create_folder /upload

Upload file, create folder

files.content.read

/download /export

Download file

sharing.write

/add_folder_member

Share a file (in the future)

sharing.read

/list_folders

Additional notes:

What about the Team permissions? — In our investigation, unfortunately if we request for any of the team scopes, only the Dropbox Business admin can authenticate. This blocks regular users from linking their own accounts. In the future, Merge may support a separate Dropbox Business integration to handle this.

Did this answer your question?