Category filter
How to integrate Google Workspace (G Suite) with Hexnode
Google Workspace (G Suite) is a unified platform for business apps developed by Google, including productivity, cloud computing, and other collaborative apps and tools dedicated for work. Hexnode is a unified web-console devoted to configure, manage, and administer the work devices.
Hexnode’s integration with G Suite allows you to simplify device enrollment and user management operations of your UEM. The integration simplifies the enrollment of your Windows, Android, macOS, and iOS devices securely through G Suite authentication and the device enrollment in the Android Enterprise program. Moreover, this will sync the user and group inventory of your organization’s G Suite account to Hexnode, facilitating the automatic creation of user accounts.
Create service account
Your organization requires a service account with Google to integrate with G Suite. Hexnode uses this service account to push the configurations to the device.
- Using the G Suite admin credential, log in to Google Cloud Console.
- Click on Create Project.
- Create a New Project by providing the following details.
- Project Name: Provide a suitable project name and a corresponding project ID will be generated.
- From the Navigation Menu on the left pane, select APIs and Services > Credentials.
- Click on Create Credentials and from the drop-down list that appears select Service account.
- Select New service account and provide the following details.
- Service account name: Provide a suitable name for the service account.
- Service account ID: An account ID will be automatically generated. If required, you can edit it.
- Service account description: Provide a suitable description for your service account.
- Click on Create and Continue.
- Optional: Grant the service account access to the project created above. Select a role from the drop-down list. Click on Select a role. Choose Service Accounts > Service Account Admin and click Continue.
- Click Done.
- Click on the email address corresponding to the newly created service account.
- Select the Advanced settings dropdown and copy the generated Client ID.
- At the top, navigate to Keys. Click on Add Key > Create new key and choose the key type as JSON. Click on Create.
- A JSON key will be downloaded. This key is later uploaded on to the Hexnode UEM server.
- Go back to APIs & Services interface from the Navigation menu. Select Enabled APIs & Services and click on +ENABLE APIS AND SERVICES.
- In the search box that appears, type Admin SDK API and select the same from the search results.
- Click on Enable to enable Admin SDK API.
Manage API client access for UEM
This process provides the UEM with a specific API access to apply configurations to the managed devices. Ensure to Enable API access in the Admin console.
- Using your G Suite Admin credentials, log in to Google Admin Console and click on Security.
- From API Controls, click on MANAGE DOMAIN WIDE DELEGATION under Domain wide delegation, and click on +Add new.
- Authorize the API clients by providing the following details.
- Client ID: Copy the unique ID from the downloaded JSON file or from the Google Cloud console.
- OAuth scopes: Copy and paste the link https://www.googleapis.com/auth/admin.directory.user – To sync individual users.
- https://www.googleapis.com/auth/admin.directory.group – To sync user groups.
- https://www.googleapis.com/auth/admin.directory.domain – To fetch the domain.
- Click on AUTHORIZE.
Integration of G Suite with Hexnode server
- Login to your Hexnode UEM portal.
- Navigate to Admin > G Suite.
- You will have the following options to be configured.
- G Suite Admin Email: Enter the G Suite admin email address of the domain that you want to synchronize with Hexnode.
- G Suite key: Upload the JSON key previously downloaded.
- Click on Next to configure G Suite.
- Now, 2 new options will be displayed:
- Sync across all domains: Checking this option will sync all the users and/or user groups across all domains. When new domains are created in G Suite, they will be automatically synced during the next sync.
- Choose Domain(s): Only the users and/or user groups present in the selected domains will be synced with Hexnode UEM.
- With the Scheduled Scan feature, you can set a specific time on a certain day(s) when the G Suite sync is to be initiated. Either choose Daily or Weekly options from the Time settings.
- If Daily is chosen, enter the time in 24-hour format in the fields corresponding to the Initiate sync at option. It will initiate the G Suite sync at the specified time every day.
- If the Weekly option is selected, an additional option to select days will be displayed below the Initiate sync at option. It will initiate the G Suite sync at the specified time on the specified days.
- Click on the Save button to save the configuration.