Set up a Google Cloud Platform (with Google Workspace) connector
Capabilities
Resource | Sync | Provision |
---|---|---|
Accounts | ✅ | |
Groups | ✅ | ✅ |
Roles | ✅ | ✅ |
Projects | ✅ | ✅ |
Available hosting methods
Choose the hosting method that best suits your needs:
Method | Availability | Notes |
---|---|---|
Cloud hosted | ✅ | A built-in, no-code connector hosted by ConductorOne. |
Self-hosted | A connector hosted and run in your own environment. |
Gather Google Cloud Platform (with Google Workspace) credentials
Each setup method requires you to pass in credentials generated in Google Cloud Platform (with Google Workspace). Gather these credentials before you move on.
A user with the Super Admin role in Google Cloud Platform (with Google Workspace) must perform this task.
Create a New Project
As a Google Cloud Platform (with Google Workspace) Super Admin, sign in to https://console.cloud.google.com.
In the toolbar, click the project select dropdown, and click NEW PROJECT.
Create a new project for your organization:
- Project Name: Choose a names, such as “ConductorOne Integration”
- Organization/Location: Choose the appropriate Organization/Location
After the project is created, make sure the correct project is selected in the dropdown at the top.
Enable the API
In the navigation menu, navigate to > APIs & Services > Library.
Search for and select the Admin SDK API.
Click Enable.
Create a service account
In the navigation menu, navigate to > APIs & Services > Credentials.
Select CREATE CREDENTIALS > Service Account.
Under Service account details, fill in the following:
- Service account name: ConductorOne Integration
- Service account description: for example, “Service account for ConductorOne Google Cloud Platform (with Google Workspace) Integration”
Click CREATE AND CONTINUE.
Under Grant this service account access to a project, grant either the Editor role or a custom role with the following permissions:
You’ll need these permissions if you are NOT using the Google Cloud Platform (with Google Workspace) integration for provisioning:
cloudasset.assets.analyzeIamPolicy cloudasset.assets.searchAllIamPolicies cloudasset.assets.searchAllResources iam.roles.get resourcemanager.folders.getIamPolicy resourcemanager.folders.list resourcemanager.organizations.get resourcemanager.organizations.getIamPolicy resourcemanager.projects.get resourcemanager.projects.getIamPolicy resourcemanager.projects.list
You’ll need these permissions if you are using the Google Cloud Platform (with Google Workspace) integration for provisioning Groups and Roles:
cloudasset.assets.analyzeIamPolicy cloudasset.assets.searchAllIamPolicies cloudasset.assets.searchAllResources iam.roles.get resourcemanager.folders.getIamPolicy resourcemanager.folders.list resourcemanager.folders.setIamPolicy resourcemanager.organizations.get resourcemanager.organizations.getIamPolicy resourcemanager.projects.get resourcemanager.projects.getIamPolicy resourcemanager.projects.list resourcemanager.projects.setIamPolicy
Leave Grant users access to this service account blank.
Click DONE.
Get credentials
- Navigate back to APIs & Services > Credentials and select the service account you just created.
- Click the service account’s email address. Locate and save the Unique ID.
- On the Service Account Details Page, click KEYS.
Click ADD KEY > Create new key.
Choose JSON and click CREATE. The new key is created and downloaded to your computer.
Keep the downloaded file safe, you’ll use it to set up the connector.
Add the service account to Google Cloud Platform (with Google Workspace)
Go to https://admin.google.com as a SUPER ADMIN.
In the navigation menu, select Security > Access and data control > API Controls.
Click MANAGE DOMAIN WIDE DELEGATION.
Click Add new and fill out the form:
Client ID: The saved ID
OAuth Scopes: Copy and paste in the relevant scopes
Use the following scopes if you are NOT using the Google Cloud Platform (with Google Workspace) integration for provisioning:
https://www.googleapis.com/auth/admin.directory.user.alias.readonly,https://www.googleapis.com/auth/admin.directory.rolemanagement.readonly,https://www.googleapis.com/auth/admin.directory.group.member.readonly,https://www.googleapis.com/auth/admin.directory.group.readonly,https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.reports.audit.readonly
Use the following scopes if you are using the Google Cloud Platform (with Google Workspace) integration for provisioning Groups and Roles:
https://www.googleapis.com/auth/admin.directory.user.alias.readonly,https://www.googleapis.com/auth/admin.directory.rolemanagement,https://www.googleapis.com/auth/admin.directory.group.member,https://www.googleapis.com/auth/admin.directory.group,https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/admin.directory.domain.readonly,https://www.googleapis.com/auth/admin.reports.audit.readonly
Click AUTHORIZE.
In the navigation menu, select Account > Account Settings.
Copy and save the Customer ID from this page.
Locate your primary domain
In the navigation panel on the left, click Account > Domains.
Click Manage Domains. Locate and copy the domain labeled as the Primary Domain in the Type column.
That’s it! Next, move on to the instructions for your chosen setup method.
Set up a Google Cloud Platform (with Google Workspace) cloud-hosted connector
To complete this task, you’ll need:
- The Connector Administrator or Super Administrator role in ConductorOne
- Access to the set of Google Cloud Platform (with Google Workspace) credentials generated by following the instructions above
In ConductorOne, click Connectors > Add connector.
Search for Google Cloud Platform (with Google Workspace) and click Add.
Choose how to set up the new Google Cloud Platform (with Google Workspace) connector:
Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
Add the connector to a managed app (select from the list of existing managed apps)
Create a new managed app
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.
If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
Click Next.
Find the Settings area of the page and click Edit.
In the Customer ID field, enter the customer ID.
In the Domain field, enter the primary domain.
In the Administrator email field, enter the email address associated with your domain or a super admin.
In the Credentials (JSON) area, click Choose file and upload the file.
Optional. Check the box if you want to skip syncing Google Cloud Platform system accounts.
Optional. Uncheck the box (which is checked by default) if you want to sync Google Cloud Platform default projects.
Click Save.
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Google Cloud Platform (with Google Workspace) connector is now pulling access data into ConductorOne.
Set up a Google Cloud Platform (with Google Workspace) cloud-hosted connector using Terraform
As an alternative to the cloud-hosted setup process described above, you can use Terraform to configure the integration between Google Cloud Platform (with Google Workspace) and ConductorOne.
See the ConductorOne Google Cloud Platform (with Google Workspace) integration resource page in the ConductorOne Terraform registry for example usage and the full list of required and optional parameters.