This article explains how to connect Dropbox to Workbench.
Quick Links
Step 1: Enable API Access for Workbench
-
For Choose an API, select Scoped access.
-
For Choose the type of access you need, select Full Dropbox.
-
Give your app a name in the following format: Expel - <your_company_name>.
-
Click Create app.
-
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
-
-
-
Click Submit at the bottom of the page.
-
Go to the recently created app and copy the App Key and App Secret.
- 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
-
Click Continue and Allow.
-
Copy the Authorization Code provided on the next screen.
- 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.
-
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.
-
In a new browser tab, log in to https://workbench.expel.io.
-
On the console page, navigate to Settings and click Security Devices.
-
At the top of the page, click Add Security Device.
-
Search for and select Dropbox.
- Click Save.