Skip to content
Last updated

Dropbox integration

Integrating Dropbox with Frontegg allows your application to authenticate users via OAuth 2.0 and interact with their Dropbox accounts — uploading and downloading files, managing shared links, creating file requests, and accessing account information on their behalf.


Prerequisites

Connect Dropbox

Step 1: Open the Dropbox App Console

Navigate to dropbox.com/developers/apps. Sign in with your Dropbox account if prompted. You will see your list of existing apps. Click Create app.

Dropbox App Console

Step 2: Choose the Scoped access API

On the Create a new app on the DBX Platform page, select Scoped access under step 1. This is the recommended API type that gives your app fine-grained control over the permissions it requests.

Dropbox create app — choose API

Step 3: Configure app settings and create the app

Under step 2, select Full Dropbox to allow your app to access all files and folders in the user's Dropbox.

Under step 3, enter a name for your app (for example, Frontegg Integration), then click Create app.

Dropbox create app — access type and name

Step 4: Copy your App key

After the app is created, you land on the Settings tab. Find the App key field — this is your OAuth 2.0 Client ID. Copy it for use in the Frontegg portal.

Dropbox App key

Step 5: Copy your App secret

Next to the App secret field, click Show. Copy the revealed secret for use in the Frontegg portal.

Keep your credentials secure

Store the App secret immediately after copying it. Never share or commit it to version control.

Dropbox App secret

Step 6: Add redirect URIs

Scroll down to the OAuth 2 section. In the Redirect URIs field, enter the following URIs one at a time and click Add after each:

  • https://YOUR_MCP_GATEWAY_URL/integration-callback

Dropbox redirect URI entry

Step 7: Confirm redirect URIs saved

The redirect URI appears as a saved entry in the Redirect URIs section.

Dropbox redirect URIs saved

Step 8: Configure permissions

Click the Permissions tab. In the Individual Scopes section, enable the following scopes:

ScopeDescription
account_info.readView basic account information (username, email, country)
files.metadata.readView information about files and folders
files.content.writeUpload, create, and delete files and folders
files.content.readDownload files and view folder contents
sharing.writeManage sharing settings and shared links
sharing.readView sharing settings and collaborators
file_requests.writeCreate and manage file requests
file_requests.readView file requests
contacts.readView manually added Dropbox contacts

Click Submit to save the permissions.

Dropbox permissions configuration

Step 9: Permissions saved

A confirmation banner appears: Permissions change successful. Your app is now fully configured.

Dropbox permissions saved

Configure the Frontegg portal

Once you have your App key and App secret, configure the integration in the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT]IntegrationsDropbox.
  2. Enter the App key in the Client ID field and the App secret in the Client Secret field.
  3. Select the required scopes.
  4. Click Save.

Additional resources