The first step in setting up Egnyte Secure and Govern is to add one or more Content Sources that you wish to monitor. The more sources you add, the more secure your content will be. You can add Cloud and On-premises Content Sources, so no matter where your data is located, it will be monitored. We'll walk you through how to add a Cloud Content Source for Google Workspace (Google Drive) in this article.

Prerequisites

  • GSuite domain with super-admin privileges

Overview

Configure service account

mceclip1.png

  • Go to service accounts management screen IAM & Admin -> Service Accounts. It should display the list of already configured service accounts.
  • Create new service account and proceed with the creation wizard

mceclip2.png

  • Choose a name and description for the service account. Select the defaults on the subsequent screens.

mceclip3.png

------

mceclip4.png

------

mceclip5.png

  • Create a private key for the service account. The key will have to be exported to P12 format and downloaded to the local hard drive.

mceclip7.png

------

mceclip8.png

------

mceclip9.png

  • Enable domain-wide delegation for the service account (switch to Edit mode first at the top of the page)

mceclip11.png

  • Record the service account client id and email in the details view in service accounts list

mceclip12.png

  • Click "Save"

mceclip13.png

Enable the APIs in Google Cloud Console

  • Go to APIs & Services -> Dashboard to view the summary of currently used APIs
  • If Google Drive API and Admin SDK are not visible in list enable them

mceclip14.png

------

mceclip15.png

------

mceclip16.png

Configure domain-wide delegation

  • Go to GSuite Admin console https://admin.google.com
  • Log in as a user with Super Admin role
  • (optional) Create a dedicated user for the purpose of Egnyte connection. Alternatively you can use the user account with which you logged in.

mceclip18.png

  • Ensure that the user has Super Admin role. If not assign the required role.

mceclip19.png

------

mceclip21.png

  • Go to Dashboard -> Security -> API Permissions

mceclip22.png

  • Navigate to Domain-Wide delegation configuration

mceclip23.png

  • Add new API client corresponding to the service account created in the previous steps

mceclip24.png

mceclip25.png

  • As a result the client should be visible on the list:

mceclip26.png

Add Google Drive source

  • In Protect Admin Panel go to Settings -> Content Sources -> Add Cloud Source and select Google Drive
  • Enter the source configuration. Service account email is the email of the service account configured in the previous steps. It can be obtained by clicking on View Client ID in service accounts list in Google Cloud console.
  • Service account user is the GSuite user who has the Super Admin role. It is either the user account by which the GSuite domain is managed or a dedicated account for Egnyte connection.
  • File with private key is the private key generated for the service account and saved to the local drive. It has to be saved in P12 format.

mceclip27.png

  • Allow Google Drive Connector to communicate with Secure and Govern

mceclip28.png

  • When the process is complete you should see the confirmation of successful connection of the Google Drive source

mceclip29.png