Skip to main content

Capabilities

ResourceSyncProvision
Accounts
Roles
Groups
The Dropbox connector supports automatic account provisioning and deprovisioning.

Connector actions

Connector actions are custom capabilities that extend C1 automations with app-specific operations. You can use connector actions in the Perform connector action automation step.
Action nameAdditional fieldsDescription
enable_useruser_id (string, required)Enables a user’s access to Dropbox Team (unsuspends the account)
disable_useruser_id (string, required)Disables a user’s access to Dropbox Team (suspends the account)
Disabling a Dropbox account will wipe the account’s data on linked devices. Ensure this behavior is acceptable before running the action.

Gather Dropbox credentials

Configuring the connector requires you to pass in credentials for Dropbox. Gather these credentials before you move on.
A user with the Team Admin role in Dropbox must perform this task.

Create a Dropbox app

1
In Dropbox, navigate to the Dropbox App Console.
2
Click Create app.
3
Select Scoped access.
4
Choose the Full Dropbox access type.
5
Select Team as the access type.
6
Give the new app a name, such as “C1”.
7
Click Create app.

Save app credentials and set permissions

1
Navigate to the app’s Settings tab.
2
Carefully copy and save the app key and app secret.
3
Give the app the relevant set of permissions:For syncing (read-only) operations:
  • team_data.member - Read user information and profiles
  • team_data.governance - Read role definitions and assignments
  • team_info.read - Read team structure and groups
For provisioning (read-write) operations:
  • team_data.member - Read user information and profiles
  • team_data.governance - Read role definitions and assignments
  • team_info.read - Read team structure and groups
  • members.write - Create new team members and suspend/unsuspend accounts
  • members.delete - Remove team members from the organization
  • groups.write - Add/remove users from groups
4
Click Submit to save the permissions.

Self-hosted only: Get a Dropbox refresh token

This section is only required if you’re setting up a self-hosted Dropbox connector.
1
First, run the following to get a short-lived access code for the Dropbox API, pasting in your app’s key:
https://www.dropbox.com/oauth2/authorize?client_id=<APP_KEY>&token_access_type=offline&response_type=code
2
Then, run the following, pasting in the access code along with your app’s key and secret, to generate a refresh token:
curl --location --request POST 'https://api.dropboxapi.com/oauth2/token' \
-u '<APP_KEY>:<APP_SECRET>'
-H 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'code=<ACCESS_CODE>' \
--data-urlencode 'grant_type=authorization_code'
3
Carefully copy and save the refresh token.
That’s it! Next, move on to the connector configuration instructions.

Configure the Dropbox connector

To complete this task, you’ll need:
  • The Connector Administrator or Super Administrator role in C1
  • The Admin role in Dropbox
Follow these instructions to use a built-in, no-code connector hosted by C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Dropbox and click Add.
3
Choose how to set up the new Dropbox connector:
  • Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
  • Add the connector to a managed app (select from the list of existing managed apps)
  • Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter the app key and app secret into their respective fields.
8
Click Save.
9
Click Login with OAuth.
10
Log in and authorize C1 with your Dropbox instance.
11
After authorizing, you’ll be redirected back to the C1 integrations page, where an “Authorized as” message is now printed.
12
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Dropbox connector is now pulling access data into C1.