Prerequisites

Learn how to collect the information you need to deploy the Dropbox to ADLS ReadyFlow, and meet other prerequisites.

For your data ingest source

  • You have a Dropbox account.
  • You have data stored in Dropbox that you want to move to ADLS.
  • You have created a Dropbox App (https://www.dropbox.com/developers).
  • You have generated the following Dropbox credentials: App Key, App Secret, Access Token, and Refresh Token.

    Generating App Key and App Secret

    1. Log in with your Dropbox account.
    2. If you already have an app, go to Dropbox Developers and click App Console. Select your app. On the app's info page you can find the App key and App secret credentials.
    3. If you do not have any apps, go to Dropbox Developers and click Create apps.
    4. On the next page select Scoped access and Full Dropbox as access type.
    5. Provide a name for your app.
    6. Accept the Dropbox API Terms and Conditions and click Create app.

    Your app is created and you are taken to the app's info page. You can find the App key and App secret credentials on the Settings tab.

    Setting required permissions for your app

    1. Go to the Permissions tab of your app's info page.
    2. Set the required permission for your app by enabling files.content.read.

      With this permission, your app will be able to read the files in Dropbox.

    3. Click Submit.

    Generating Access Token and Refresh Token

    1. Go to the following web page: https://www.dropbox.com/oauth2/authorize?token_access_type=offline&response_type=code&client_id=your_app_key
    2. Click Next and then click Allow on the next page.

      An access code is generated for you, and it is displayed on the next page.

    3. Execute the following command from the terminal to fetch the access and refresh tokens.curl https://api.dropbox.com/oauth2/token -d code=your_generated_access_code -d grant_type=authorization_code -u your_app_key:your_app_secret

      The curl command results in a JSON file that contains the access_token and refresh_token.

      For more information, see the Dropbox Getting Started.

  • You have the Dropbox folder ID or path you want to read from.

For Cloudera Data Flow

  • You have a Cloudera Data Flow service deployed on Cloudera Anywhere Cloud.

For your data ingest target

  • You have the destination ADLS file system/container name, path, and storage account name and key.
  • You have access to the destination ADLS directory.