Note: This document describes the option available to create a Service Account with Custom Admin privileges, dedicated for Moveworks to ingest your Google Drive files, users, and groups for permission-enforced File Search.
This guide outlines how to create a Service Account with Custom Admin privileges and is the recommended approach for Google Drive
Alternative Connector Options are supported but not recommended:
Navigate to APIs & Services > Credentials

Select Create Credentials > Service Account

Create the Service account by adding the name, ID and description and select Create and Continue - Note: Granting access to a project or Granting users access to this service account is optional

Click on Actions > Manage keys

Select Add Key > Create new key

Select JSON as the Key type and click Create. You should see a notification that the service account JSON file has been downloaded and saved to your computer.


Save this Service Account JSON Key
Get and Save Customer ID for your Google Workspace
In this step, make sure that each Google Drive Folder you wish to ingest as well as it’s parent shared drive has been shared with the new Service Account with Custom Admin privileges that you have built in previous steps.

Add the Service Account as Content Manager. If your preference is to only grant Viewer access, please make sure that you have edited the following Shared Drive setting, allowing Viewers to download files:

Navigate to Moveworks Setup and click on “Built in connectors”
Create a new Google Drive connector
Select Service Account Auth
Open the JSON Key text file from Step 2 and copy the content of the “private_key”
Open a new text file and paste the private key. Make sure new line characters, if applicable, are replaced with new lines. Once formatted correctly save the file as a .pem file type.
The formatting show look similar to the below:

Upload the .pem file from the previous step in the Gdrive Service Account Auth Private Key field.
Leave “Impersonated User” as blank, given there is no Domain Wide Delegation