Creating Dropbox storage provider type

This section provides information about how to properly configure the Dropbox™ storage provider type.

Before you begin

The following list shows the prerequisites to create a Dropbox storage provider:

  • IBM RPA on premises environment.

  • User with the following permissions:

    • View storage provider types
    • Manage storage provider types

    See the Checking user permissions topic to learn how to check your user permissions.

  • Dropbox™ 🡥 account.

Procedure

Follow the steps to create a Dropbox™ app:

  1. Create your Dropbox application
  2. Get the App key and App secret
  3. Configure the storage provider type in the IBM Robotic Process Automation

Create your Dropbox application

  1. Navigate to the Dropbox Developers 🡥 website.
  2. On the top right corner, click the App console button.
  3. Click the Create app button.
  4. Select the Scoped access option.
  5. Choose which type of access you want:
    • If you want the users to have access to one folder in your Dropbox account, select the App folder option.
    • If you want the users to have access to your whole Dropbox account, select the Full Dropbox option.
  6. Name your app, such as IBM RPA Storage.
  7. In the OAuth 2 section, add your Redirect URI. This address is the URL to your IBM Robotic Process Automation's API, such as https://192.51.100.38:7790/integration/oauth2, where 192.51.100.38 is the server IP and 7790 is the port used by the IBM RPA's API, with the OAuth2 specifications /integration/oauth2. Following are examples of valid URLs with the OAuth2 specifications:
    • https://192.51.100.38:7790/integration/oauth2

    • https://api.example.com/integration/oauth2

      🛈 Remember: Replace the URL with the appropriate server API URL.

  8. Click Add to add the URL.
  9. Click the Permissions tab.
  10. In the Permissions page, select the allowed user permissions in your Dropbox folder such as: files.content.write and files.content.read, for example.

Get the App key and App secret

  1. Go to the Settings tab of your app.
  2. Look for App key.
  3. Look for App secret and click Show to reveal your app secret.

Configure the storage provider type in the IBM Robotic Process Automation

  1. Navigate to the IBM Robotic Process Automation main page.

  2. On the side menu, click Storage and go to the Storage provider type tab. For older versions of IBM RPA, go to Configuration > Storage Provider Type.

  3. Click the Create storage provider type button.

  4. Select Dropbox as the Type.

  5. In the Client ID field, enter your App key.

  6. In the Client Secret field, enter your App secret.

  7. In the Redirect URL field, enter the Redirect URL you have previously configured in the credentials page, such as https://192.51.100.38:7790/integration/oauth2.

  8. In the Authorization URL field, enter https://accounts.google.com/o/oauth2/v2/auth .

  9. In the Authorization Template Parameter field, enter the following code snippet:

    client_id={clientId}&response_type=code&redirect_uri={redirectUri}
    

    🛈 Remember: IBM RPA automatically replaces the values of {clientId} and {redirectUri} with the values defined in Client ID and Redirect URL, respectively.

  10. In the Token URL field, enter https://api.dropboxapi.com/oauth2/token .

  11. In the API URL field, enter https://api.dropboxapi.com/ .

  12. In the Scopes field, you can add more permissions to your current storage provider type. See OAuth Guide 🡥 for more information.

  13. Click Save.

Result

As result, you can view a notification that states that the storage provider type was added successfully. You can also see it in the list of storage provider types.

If it fails, you can also view a notification. In this case, review the data that you entered and retry to create the storage provider type.

What to do next

Create a new storage provider to use it. See Creating storage provider integrations for more information.