Skip to content
Herd Security

← All integrations

Identity

Herd + Google Workspace

Sync users and groups from Google.

What it is

One Google service account syncs users and groups, read-only, through domain-wide delegation. Two optional read-only scopes also let Herd read the mobile and ChromeOS devices Google manages for you.

Why it exists

Google shops keep their org structure in Workspace, so that’s where Herd should read it from.

What it means for you

The same service account also powers Gmail phish-report capture and security alert automations, so one setup covers three features. With device posture on, a phone Google flags as compromised counts toward that person’s risk score.

Access
Read-only
Connects with
Service account with domain-wide delegation
Sync
Every 2 hours, with change notifications reaching Herd within minutes

How to connect Google Workspace

The short version. The setup guide has every screen and setting.

Before you start

  • Google Workspace super admin to grant domain-wide delegation
  • Someone who can create projects, service accounts and organization policies in Google Cloud
  1. Create a project and enable the API

    In Google Cloud, create a project for Herd and enable the Admin SDK API.

  2. Create a service account and key

    Create a service account, relax the service account key creation policy if it blocks you, and download a JSON key.

  3. Authorize domain-wide delegation

    In the Google Admin console, add the service account’s Client ID under API Controls with the three required read-only directory scopes.

  4. Connect Herd to Google Workspace

    In Settings → Integrations, enter your domain, an admin email and the JSON key on the Google Workspace card, then save. Saving tests the connection.

  5. Confirm user sync

    Select Sync Users and check the status box for the last sync time.

The full walkthrough is in the Google Workspace setup guide.

Join the Herd

See Herd working with Google Workspace.

Bring your stack to a demo. We’ll connect it and show you what Herd does with it.