Setup Google Workspace identities
Setup identities from Google Workspace
Google Workspace (formerly known as G Suite) is a collection of cloud computing, productivity and collaboration tools. You can seamlessly and securely synchronize your Google Workspace and idBlender identities. Alternatively you can do a one-time import and then manage identities inside idBlender.
Synchonization
Identities can be automatically synchronized between Workspace and idBlender. Synchronization makes it easy to manage Workspace users (identities) state and data between systems.
Pre-requisites
- idBlender account.
- Google Workspace account with admin permissions.
- Access to Google Cloud Platform Console.
How it works?
- Create Google Workspace service account.
- Add sync attribute to Worspace users.
- Turn on sync attribute for selected users.
- Create idBlender synchronization profile.
1. Create Google Workspace Service Account
Follow these steps to create a service account in the Google Cloud Platform (GCP) Console. Instructions below are based on Google Workspace documentation.
1.1. Create GCP project
- Go to the Google Cloud Platform Console and sign in as a super administrator.
- Click IAM & Admin and then Manage Resources.
- At the top of the screen, click Create Project.
- Enter a project name. Optionally you can add the project to a folder, specify the folder name in the Location box.
- Click Create.
1.2. Turn on APIs for service account
- Make sure your new project is selected in the projects list at the top of the screen.
- Click APIs & Services and then Library.
- Search for Admin SDK and then Enable it.
1.3. Create the Service Account
- Click APIs & Services and then Credentials.
- Click Create Credentials and select Service account.
- In the Service account name field, enter a name for the service account.
- (Optional) In the Service account description field, enter a description of the service account.
- Click Create.
- (Optional) Assign the role of Project and then Viewer to the new service account.
- Click Continue and then Done.
- On the Credentials page, under Service Accounts, click the email address of the service account you created.
- Click Show Domain-Wide Delegation.
- Check the Enable G Suite Domain-wide Delegation box.
- Click Add key > Create new key.
- Select JSON file type, create and download key file.
2. Add sync attribute to Workspace users
- Navigate to Google Workspace admin panel.
- Open Users console.
- Select menu More > Manage custom attributes.
- Click on Add Custom Attribute
- Enter "idblender" category and custom field "sync" with "Yes or no" type, visibility "Visible to organization" and "Single Value".
3. Turn On sync attribute for users
- Open user profile
- Expand User Information section.
- Set sync setting value to Yes.
4. Create idBlender synchronization profile
- Login to idBlender as admin.
- Select menu item Settings>Synchronization.
- Create new synchronization profile.
- Enter Google Cloud Platform Console account email.
- Upload service account credentials JSON file.
- Execute sync manually anytime or set the automatic sync period.
That is it, users from Workspace will appear in idBlender after the next synchronization run. Please contact support if you have issues or questions.