Skip to content

Google Gemini for Workspace connector

Connect Claresia to Google Gemini for Workspace. End users invoke skills as Gemini Gems inside Google Workspace (Docs, Sheets, Gmail, Meet, Chat).

  • Google Workspace Enterprise Plus with Gemini for Workspace add-on
  • A Workspace super admin to grant the OAuth scopes
  • Zero-retention configured for Workspace AI
  1. In Claresia Onboarding Portal, click Connect LLM (Step 6) → pick Google Gemini for Workspace.

  2. Click Sign in with Google Workspace — opens Google’s OAuth consent. Sign in as super admin and grant:

    • admin.directory.user.readonly
    • admin.directory.group.readonly
    • admin.reports.audit.readonly
    • gemini.workspace.gems.write (when GA)
  3. Click Test connection — Claresia calls Workspace Admin API to confirm.

Part 2 — Skill publish — manual fallback (today)

Section titled “Part 2 — Skill publish — manual fallback (today)”

Until the Gems publish API is GA:

  1. Command Center → Distribution → Google Gemini → Export
  2. Download per-skill Gem JSON bundle + a CSV manifest
  3. Upload via Workspace Admin → Apps → Google Workspace → Gemini → Custom Gems → Bulk import
  4. Set group ACLs to match your Workspace groups (Google Groups created earlier)

Part 3 — Skill publish — automated path (when Gems API is GA)

Section titled “Part 3 — Skill publish — automated path (when Gems API is GA)”
  1. Claresia transpiles each Skill IR into a Gemini Gem JSON
  2. POSTs to Workspace Admin Gems API: POST https://admin.googleapis.com/admin/directory/v1/customer/{customer_id}/gemini/gems
  3. Sets Gem ACL to match your Google Group → archetype mapping
  4. End users see the Gem in their Workspace AI sidebar within ~2 min

Claresia polls the Workspace Admin Audit API every 60s for events in the gemini activity:

GET https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/gemini
?filters=event_name=gem_invocation
&startTime=<last_seen_ts>

For events tagged claresia-*, we normalize to fn_telemetry_event.

User opens Gmail → clicks Gemini sidebar → types:

@claresia-pipeline-hygiene

Or in Docs / Sheets, the Gem is invoked via the Gemini panel. Reply is rendered inline with the standard Claresia footer:

[skill output body]


Claresia · Pipeline Hygiene · $0.04 · 2.3s · View record

Gemini Gems support function calling via the Gemini Tools API. Claresia injects a claresia.emit_hub_record tool into every Gem definition. Function body is hosted at the Hub ingest endpoint per deployment mode.

SymptomCauseFix
Gems don’t appearGems publish API not yet GAUse the manual export / bulk-import flow
Telemetry missingAudit API delay (Workspace lags up to 1h for some events)Expected — we surface within 60 min worst-case
Hub records missingFunction calling not enabled in GemRe-export from Claresia (sets the tool list correctly)
403 on connectSuper admin scope missingRe-grant with all 4 scopes listed above