This article explains how to connect Dropbox to Workbench.

Quick Links

Step 1: Enable API Access for Workbench

  1. Log in to https://www.dropbox.com/developers/apps/create.

  2. For Choose an API, select Scoped access.

  3. For Choose the type of access you need, select Full Dropbox.

  4. Give your app a name in the following format: Expel - <your_company_name>.

  5. Click Create app.

  6. Go to the Permissions tab and grant the token the following permissions:

    • Account Info: account_info.read

    • Files and folders: files.metadata.read

    • Team Data: team_data.member

    • Members: groups.read

    • Sessions

      • sessions.list

      • events.read

  7. Click Submit at the bottom of the page.

  8. Go to the recently created app and copy the App Key and App Secret.

  9. Paste the Dropbox OAuth authorize URL (with your App Key filled in) into your browser. You must be logged in for this to work.
https://www.dropbox.com/oauth2/authorize?client_id=<app id>&response_type=code&token_access_type=offline
  1. Click Continue and Allow.

  2. Copy the Authorization Code provided on the next screen.

  3. Run the request to the Dropbox oauth/token endpoint with the Authorization Code, App Key, and App Secret. Substitute your Authorization Code for <authorization code>, your App Key for <app key>, and your App Secret for <app secret>.
curl -d "code=<authorization code>" -d "grant_type=authorization_code" -d "client_id=<app key>" -d "client_secret=<app secret>" -X POST https://api.dropbox.com/oauth2/token

Note
Make sure to use your Authorization Code, App Key, and App Secret in the request before continuing.
  1. Copy the refresh_token from the JSON response value to add to Workbench in Step 2. Example response: {'access_token': '<my token>', 'token_type': 'bearer', 'expires_in': 14400, 'refresh_token': <my refresh token>, 'scope': 'account_info.read events.read files.metadata.read groups.read sessions.list team_data.governance.read team_data.governance.write team_data.member', 'uid': '', 'team_id': 'team-id'}

Step 2: Configure the Technology in Workbench

Now that we have the correct access configured and noted the credentials, we can integrate your tech with Workbench.

Note
Expel secures all login information our SOC analysts need about your devices in an MFA password product. Access to this login information is protected using our internal MFA processes. To learn more about the IP addresses all Expel traffic comes from, go here.

  1. In a new browser tab, log in to https://workbench.expel.io.

  2. On the console page, navigate to Settings and click Security Devices.

  3. At the top of the page, click Add Security Device.

  4. Search for and select Dropbox.

    Screen Shot 2021-04-13 at 2.26.16 PM.png
    • For Name, type what you want to name the Dropbox device.

    • For Location, type Dropbox Cloud.

    • API token can be left blank.

    • For Refresh Token, paste the generated token value from Step 1.

    • For Application ID and Application Secret, paste the values from Step 1.

  5. Click Save.