User Community Service Desk Downloads
If you can't find the product or version you're looking for, visit support.ataccama.com/downloads

Google Cloud Application Configuration

The Google Drive connector in ONE requires a Google Cloud Application to be configured to use the OAuth 2.0 authentication.

This page guides you through the configuration of the Google Cloud Application. After a one-time setup, you can use the connector for multiple users and Google Drives.

However, it is necessary to create a separate Google application for each instance of ONE (for example, DEV, TEST, PROD), as only one refresh token is issued for each application.

Create Google Cloud application

To create the Google Cloud application:

  1. Go to the Google Cloud console: console.cloud.google.com/.

  2. Expand the three dots menu in the toolbar and select Cloud overview > Dashboard.

    400
  3. Select Create Project.

  4. Fill in the New Project form:

    400
    • Project name: Provide a meaningful name for your project.

    • Organization: Select the organization to which the project should belong. Internal applications can access only Google Drives within its organization.

    • Location: Browse the files to locate the folder for the project.

      The number of projects for individual users is limited. See the official Google Documentation.
  5. Select Create.

Enable Google Drive API

To enable Google Drive API, do the following:

  1. In the left-side navigation menu, select APIs & Services > Enabled APIs & Services.

    400
  2. Select ENABLE APIS AND SERVICES.

    400
  3. Search for and select Google Drive API.

  4. Select ENABLE.

    200
  1. In the Google Cloud console, select the OAuth consent screen from the left-side navigation menu.

    200
  2. Select the User Type that works for you.

    If you don’t know which one you need, select Internal. Internal applications can access only Google Drives within its organization.
  3. Fill the following information:

    600
    • Application information:

      • App name: The name that is shown to the user on the OAuth consent screen.

      • User support email: Choose one from the dropdown.

      • App logo: Optional image to be shown on the OAuth consent screen.

    • App domain is optional. For more information about how to fill in the domains details, refer to the Google documentation by selecting the question mark icon.

    • Developer contact information: Provide at least one email address to let the user communicate with the app developer.

  4. Select Save and Continue.

Configure scopes

To configure the Google Drive API on the OAuth consent screen Scopes tab:

  1. Select Add or remove scopes.

    600
  2. Select Google Drive API in the list. Or, add the following line to the text field under Manually add scopes and select Update: www.googleapis.com/auth/drive.readonly.

    600
  3. Select Save and continue.

  4. Verify the settings and select Back to dashboard.

Configure credentials

To configure the credentials for connecting to the Google Drive:

  1. Select Credentials in the left-side menu.

    600
  2. Select Create credentials.

  3. Select OAuth Client ID and fill in the following:

    600
    1. Application type: Select Web application.

    2. Name: Specify the name of the OAuth 2.0 client.

    3. Authorized JavaScript origins: The list of URIs of origins to allow authorization requests from.

      1. Select Add URI.

      2. Fill in the URI of ONE in the form <your_ataccama_one_webapp_domain.

    4. Authorized redirect URIs: The list of URIs to redirect the successful authorization request to.

      1. Select Add URI.

      2. Fill the URI of ONE in the form <your_ataccama_one_webapp_domain>/oauth_response.

        Google OAuth2.0 doesn’t accept localhost as a domain.

        You can find this URI when creating a Google Drive connection. See Google Drive Connection, step 2 in section Add credentials.

  4. Select Save.

    It can take between five minutes and several hours for the changes to take effect.
  5. Use Client ID and Client Secret from the credentials when connecting to a specific Google Drive in Ataccama ONE.

    You can find these values if you select the application name in the list of OAuth 2.0 Client IDs on the Credentials tab.
    600
  6. Select Allow to grant ONE access to Google Drive. After the first connection, you need to authorize the request.

    400

Was this page useful?