Skip to content

Dropbox connects a Dropbox Business account with OAuth 2.0 through a Dropbox app you create.

Install the Dropbox integration

Install Dropbox from Available integrations in each environment you connect accounts from.

Create a Dropbox app to use with Truto

  1. Go to Dropbox App Console.
  2. Select Scoped access, and then select Full Dropbox and finally enter a name for your app. Click on Create app. Create Dropbox app
  3. On the app details page, scroll down to the OAuth 2 section. Under Redirect URIs, add https://api.truto.one/connect/dropbox/callback and click Add. If you use a redirect URL on your own domain, add that URL instead. Dropbox redirect uri
  4. Then move on to the Permissions tab and select the permissions based on the Unified APIs you want to use with this integration. Refer the table below. Dropbox permissions
  5. Go back to the Settings tab and copy the App key and App secret. In Truto, enter them as the Client ID and Client Secret of the installed Dropbox integration — see Overriding OAuth credentials. Dropbox app key and secret

When you click Install, the second step shows the Redirect URL to add to your app and asks for its Client ID and Client Secret. If you skip it, add them later on the Configuration tab.

Info

Truto doesn't ship a Dropbox app of its own. Until you add your App key and App secret, Dropbox is left out of the Connect UI. See Until the app is configured.

Dropbox scopes to select based on the Unified APIs

Unified API Scopes
Unified User Directory API account_info.read, team_info.read, team_data.member, members.read, groups.read
Unified File Storage API account_info.read, files.metadata.write, files.content.write, files.content.read, sharing.write, file_requests.write, contacts.write, team_info.read, team_data.member, team_data.team_space, files.team_metadata.write, files.team_metadata.read, members.read, groups.read

Connect a Dropbox account

Warning

This integration uses the Dropbox Business API. Connect a Dropbox Business account.

  1. In Integrated Accounts, click Connect Account. Click Connect Account
  2. Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Dropbox, pick it under Advanced settings → Integration (optional). Click Get connection link. Get connection link
  3. Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Dropbox account. The link works for 7 days, until an account is connected with it. Share connection link
  4. Click Get Started if it shows, then select Dropbox - Business. Select Dropbox
  5. Enter the Dropbox Email (required): the email address of the Dropbox Business team member who is connecting. After the connection completes, Truto looks this member up in the team to store their team member ID, home folder, and the team's root folder, and uses the team name as the account label.
  6. Sign in to your Dropbox account and allow access to Truto.
  7. Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.