Google Workspace Integration Setup
Getting Started
There are two kinds of information that can be pulled from Google Workspace into BalkanID - namely HRIS data (using Google as a HRIS source of truth) and Entitlement data (who has access to what, etc). The following setup applies to both.
By default, typically Google Workspace integration may be setup in your tenant in such a way that it pulls in just entitlement data. To start using Google as an HRIS source of truth, please contact [email protected] and we will enable that.
BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.
Requirements:
Domain
Super-Admin Email
Service Account
Getting the configuration
Granting Access to BalkanID
This step is only needed if you would like to create a new project instead of using an existing project for the integration.
Create a project (https://console.cloud.google.com/cloud-resource-manager).
You should be able to walk through the wizard after clicking Create Project from the Manage Resources section of the console. You will specify a project name and select an organization.
Create a service account in project created in the previous step (https://console.cloud.google.com/iam-admin/serviceaccounts)
You should be able to walk through the wizard after clicking “Create Service Account” from the ‘Service Accounts’ section of the console. You will specify a service account name, and the rest of the fields will auto-fill based on that. You can just hit Create and Continue. You will not need to specify any of the optional steps listed on the wizard. This step is only needed if you would like to create a new service account instead of using an existing service account for the integration.
Copy and save the OAuth 2 Client ID as well as the service account email address from the main service accounts listing page (the items under the columns underlined in red below).
Upload existing key to the service account
Click Add New > Upload Existing Key.
Use the certificate received from BalkanID.
Remember to save the email address of the service account to enter into the configuration for BalkanID from the service account listing page as stated in the previous section.
Enable Admin SDK API (https://console.cloud.google.com/apis/library/admin.googleapis.com)
Click Enable.
Delegate domain access (https://admin.google.com/ac/owl/domainwidedelegation)
Click Add New.
Enter the OAuth 2 Client ID created in the previous step.
Add the following OAuth Scopes:
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.orgunit.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/admin.directory.user.security,
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
Configuring Google Workspace in your BalkanID tenant
Login to the BalkanID application and switch to the tenant you would like to add your integration to.
Head to Integrations > Add Integration, select Google Workspace.
Set up the Primary Application owner (mandatory) and the Description, if any. Set up Secondary Application Owner(s), if any.
Select the Extraction Type. From here, you can configure your application using one of the following methods:
Direct integration - Provide your Google Domain, Super-Admin Email and Service Account Email obtained above to set up a direct connection with BalkanID.
SCIM integration - Provide SCIM server credentials to set up a SCIM connection with BalkanID.
Manual file upload - Upload Entity and Entity Relations through a .CSV file upload. Contact the team for assistance with this.
Automated upload using API - You can upload data using our Bulk APIs with the help of an API key which will be provided to you. Please refer to the entity and entity relation upload docs for specific instructions on uploading your data through the API.
Click on next to move onto Optional Configuration.
Fill Optional configuration, if required.
Once you filled in the information, click Save. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the Integrations page. When data is available, the integration Status will read Connected and the integration Message will read Data available.
Integration Scopes
Read Only (Access Review) Scopes
Lifecycle Management Scopes
https://www.googleapis.com/auth/admin.directory.user.readonly
https://www.googleapis.com/auth/admin.directory.user.security
https://www.googleapis.com/auth/admin.directory.user
https://www.googleapis.com/auth/admin.directory.orgunit.readonly,
https://www.googleapis.com/auth/admin.directory.orgunit
https://www.googleapis.com/auth/admin.directory.group.readonly
https://www.googleapis.com/auth/admin.directory.group
https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly
https://www.googleapis.com/auth/admin.directory.rolemanagement
Last updated
Was this helpful?