Skip to content

Google Gemini for Workspace

The Google Gemini connector reads Gemini activity from the Google Workspace Admin SDK Reports API. It covers Gemini in Gmail, Docs, Sheets, Slides, Meet and Drive, plus the Gemini app for Workspace users. Usage is attributed to users and organizational units, so Gemini appears next to every other AI tool in PromptGlass.

  1. In Google Cloud, create a service account and turn on domain-wide delegation.
  2. In the Workspace Admin console, authorize these scopes for the service account’s client ID:
    • https://www.googleapis.com/auth/admin.reports.audit.readonly
    • https://www.googleapis.com/auth/admin.reports.usage.readonly
    • https://www.googleapis.com/auth/admin.directory.user.readonly
  3. Add the connector:
Terminal window
promptglass connectors add google-gemini \
--customer-id C0abc123 --admin-email admin@example.com \
--service-account-key ./sa.json --backfill 30d
Source Data
Reports API: gemini_in_workspace_apps activities Feature used, app, user, timestamp
Reports API: usage reports Active users by app
Directory API OU, department and cost center for rollups
License Manager API Gemini add-on assignments, used for idle seats

gemini.google.com used with personal Google accounts doesn’t appear in Workspace logs. The browser extension and forward proxy tell the two apart by signed-in account and report personal use as shadow AI.