Google Drive Connector 12.12

# Before you Install the Connector

This section describes the steps you should take before installing the connector.

## Retrieve Information from a single Google Drive

To retrieve information from Google Drive you must create an application to represent the connector. Google will provide an application key and application secret that you can use as part of the OAuth authentication process.

To create an application to represent the connector

1. Go to https://console.developers.google.com/.
2. Create a new project.
3. Click Enable APIs and Services and enable the Google Drive API.

4. Obtain Credentials.

   1. Click Credentials.
   2. Click Create Credentials > OAuth Client ID.
   3. In the Application Type list, click Desktop App.
   4. Type a name for the app.
   5. Make a note of the Client ID and Secret, and click OK. You will need this information when you run the OAuth configuration tool (see Configure OAuth Authentication).

## Retrieve Information from G Suite Users

To retrieve information from the Google Drives of multiple users in a G Suite domain, you must create a service account that the connector can use to access the information. You must enable G Suite Domain-wide delegation and grant the relevant permissions.

To create a G Suite service account and grant relevant permissions

1. Go to https://console.developers.google.com/ and log in.
2. Create a new project, and make sure the project is selected.
3. Go to API Manager > Library.
4. Select Admin SDK and click Enable.
5. Select Drive API and click Enable.
6. Select API Manager > Credentials.
7. Select Create Credentials > Service Account Key.
8. Select New Service Account.

9. Give the new service account a name. Then select the following roles:

   - Project > Viewer.
   - Project > Editor (if you want to use the insert or delete actions).

10. Select Key type JSON, and then click Create.

    Save the JSON file provided by Google for use later.

11. Find the service account you created by clicking (Menu button) > IAM & Admin > Service accounts.
12. In the table, click Edit for the service account you created.
13. Select the Enable G Suite Domain-wide Delegation check box, and click Save.
14. Click View Client ID, and copy the Client ID to be used later. (The Client ID is also shown in API Manager > Credentials).

15. Go to https://admin.google.com/ and log in using an administrator account.

16. In the Admin Console menu, click Security.

17. Select Show more > Advanced settings > Manage API Client Access.

18. Ensure that an entry is present for the Client ID you obtained above. Ensure that the following scopes are included:

    - https://www.googleapis.com/auth/admin.directory.user.readonly
    - https://www.googleapis.com/auth/drive.readonly.
    - https://www.googleapis.com/auth/drive (if you want to use the insert or delete actions)

19. Click Authorize.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Google Drive Connector 12.12

Topic Title: Before you Install the Connector