Google Drive
Quick Start

Enable APIs

For the connector to work, certain APIs in the Google Cloud have to be enabled. To do so, execute the following steps:

  1. Login to the Google Cloud Console with your admin account

  2. Select your project and click on Library

enable apis select
  1. Search for Drive and click on the result Google Drive API

enable apis search api
  1. Click on ENABLE

enable apis enable api
  1. Enable Admin SDK API by executing steps 3 and 4 for Admin SDK

Create Service Account

For the connector to authenticate with Google Drive a Google Cloud Service Account is needed. To create an account, the following steps have to be executed:

  1. Open the menu of the Google Cloud Console and select IAM & AdminService accounts

service account open
  1. Press CREATE SERVICE ACCOUNT

service account create
  1. Enter a name and click CREATE AND CONTINUE

service account create2
  1. Skip the optional settings and click DONE

Create and download Service Account Key File

The connector needs a JSON file with the private key of the service account for authentication. This service account file can be generated and downloaded by executing the following steps:

  1. Open the service account details by clicking on the account

service account details
  1. Open the KEYS tab and click on ADD KEYCreate new key

service account create key
  1. Create the service account file by clicking on CREATE and store it under a suitable location

service account create key2

Set up Domain-wide Delegation

Domain-wide delegation has to be activated for a service account. To do so execute the following steps:

  1. Make note of the OAuth 2 Client ID of the service account

  2. Login to Google Admin with your admin account and navigate to the API controls and click on MANAGE DOMAIN WIDE DELEGATION

domain wide delegation menu
domain wide delegation manage
  1. Click on Add new

domain wide delegation add new
  1. Enter the service account’s OAuth 2 Client ID in the field Client ID and the scopes

  2. Click AUTHORIZE

domain wide delegation authorize