HubStor Inc.

Preparing a Google Drive Connection


This article will walk through the process of configuring the Google Workspace pre-requisites in order to create the connector that will capture the data.  
A few notes to consider:
  1. The process will require elevated access to the Google Workspace console.
  2. The connector only supports capturing data from users in Google Workspace; it does not support regular Gmail.    

Authentication and Authorization

A service account is required in order to access resources including delegated access into users' Google Drives.

 

Step 1:  Create the Project

A project is a collection of settings, credentials, and metadata about the application or applications you're working on that make use of Google APIs and Google Cloud Platform resources.
Create a Project by logging into the console via the following URL: https://console.cloud.google.com/apis/credentials
Create a Credential of type service account.

 


 

Step 2: Enable the APIs

Click the 'Enable APIS AND SERVICES' button.  From the list, enable the required APIs listed below:
  1. Google Drive
  2. Service Directory API
  3. Admin SDK API

Step 3: Create the service account, making it an owner of the project





Step 4:  Create the service account key and download the JSON 

This JSON file will be used when configuring the connector.  

 


Step 5: Enable domain-wide delegation for the service account

Browse to: https://admin.google.com/ac/owl/domainwidedelegation

Select Security, then API controls, then Domain-wide delegation
Click the 'Add new' button
Enter the client id which is the service account Unique ID

Enter the URL's below for the scopes:

  1. https://www.googleapis.com/auth/drive
  2. https://www.googleapis.com/auth/admin.directory.user.readonly

 Click the 'Authorise' button




That completes the process. Now it is time to create and configure the Connector that will capture this data.  Refer to the article: How to create a Google Drive Connector
    • Related Articles

    • How To Create SharePoint Connectors

      This article describes how to configure settings specific for the following connectors: SharePoint Online SharePoint Server on premises (versions 2013 and higher) SharePoint Groups/Teams  Each connector type listed above requires its own connector.  ...
    • How to Configure the Exchange Connection for the Export Utility

      This article will discuss how to configure the Exchange Connection when choosing to 'Export To' a 'Single Mailbox' or 'User Mailbox'.   Configure an Exchange Connection Click the ellipse button next to the mailbox selection. In the 'Configure export ...
    • How to Configure the SharePoint Connection for the Export Utility

      This article will discuss how to configure the SharePoint Connection when choosing to 'Export To' a 'Single SharePoint Site Collection'.  Configure a SharePoint Connection Click the ellipse button next to the 'SharePoint Collection' selection. In the ...
    • How to Create a Slack Connector

      This article will walk through the steps on how to configure a Slack connector within the HubStor Connector Service (HCS).    The connector must be created before these settings can be applied. For information on creating a connector, refer to the ...
    • Does HubStor Support Azure File Sync?

      HubStor can capture data directly from an Azure File Sync drive.  This can be done using the standard Files Connector.  Refer to the article below on configuring a Files Connector.  How to Create Connectors for Files