Connect Google Calendar with Glean
Prerequisites
You must complete the following prerequisites for a successful setup:
| Requirement | Details |
|---|---|
| Admin access | You must be a Glean Administrator and a Google Workspace Administrator able to manage APIs, domain-wide delegation, and app access. |
| Google Drive connector | The Google Drive connector must be installed and operational. It provisions the service account and domain-wide delegation that Google Calendar reuses for authentication. |
| Google Calendar API enabled | In the Google Cloud project backing the service account, the Google Calendar API must be enabled. Missing this is a common cause of validation failures and error GOOGLECALENDAR-1. |
| Domain-wide delegation (DWD) scopes | The DWD client ID used for GDrive must include at least: https://www.googleapis.com/auth/admin.directory.user.readonly https://www.googleapis.com/auth/admin.directory.group.readonly https://www.googleapis.com/auth/drive.readonly https://www.googleapis.com/auth/admin.reports.audit.readonly https://www.googleapis.com/auth/calendar.readonly (Calendar access) These build on the Drive setup with an additional Calendar scope. |
| Directory Admin email | The Directory Admin email configured in the Google Drive connector must be a valid Google Workspace user with Calendar enabled. The Calendar connector uses this identity for API validation. |
| Calendar service enabled for OU (Organizational Unit) | In Google Admin > Apps > Google Workspace > Calendar, the service must be ON for the OU containing the Directory Admin and the users whose calendars you want to index. |
| Transcripts / Gemini notes (optional) | For Meeting Summary agent to work, customers must have Google Meet transcription or Gemini note-taking enabled and producing documents that Glean can see via Google Drive. |
Configuration and setup
Step 1: Confirm Google Drive setup
-
In Glean Admin Console, go to Data sources > Google Drive and verify that the connector is Connected and healthy.
If it is not configured, complete those setups first. For more information, see Connect to Google Drive.
Step 2: Add Calendar OAuth scopes in Google Admin Console
-
In the Google Admin Console, navigate to:
Security > Access & data control > API controls > Domain-wide delegation. -
Locate the Client ID used for Glean (the same one already configured for Google Drive).
-
Click Edit on that client.
-
In the OAuth scopes (comma-delimited) field, ensure the following scopes are present, adding any that are missing:
https://www.googleapis.com/auth/admin.directory.user.readonly,
https://www.googleapis.com/auth/admin.directory.group.readonly,
https://www.googleapis.com/auth/drive.readonly,
https://www.googleapis.com/auth/admin.reports.audit.readonly,
https://www.googleapis.com/auth/calendar.readonly -
Click Authorize to save changes.
Step 3: Enable the Google Calendar API
- Go to the Google Cloud Console for the project that owns the Glean service account.
- Open APIs & Services > Library.
- Search for Google Calendar API.
- Ensure it is Enabled; if not, click Enable.
This step resolves a common configuration gap where scopes are correct, but the API itself is disabled, leading to validation failures during connector setup.
Step 4: Configure Google Calendar in the Glean Admin Console
-
In Glean Admin Console, go to Data sources > Google Calendar.
-
On the Setup tab, provide:
- Name and icon (optional) – How this data source appears to admins.
- Associated Google Drive instance – Choose the Google Drive connector instance whose service account and delegation should be reused for Calendar.
-
Choose data retrieval methods (modes):
- Data crawling and indexing – Recommended. Enables indexed meeting search, hero meeting cards, Meeting Summary agent, and Calendar Search actions.
- Data fetching – On-demand federated queries to Google Calendar. Useful for lighter-weight access or complementary coverage.
-
You can enable both modes for the best experience. The admin UI allows selecting one or both retrieval methods for the connector.
-
Confirm that the UI indicates Google Drive prerequisites are met. There are no additional credentials beyond those used for Google Drive.
-
Click Save to start validation and, if indexing is enabled, the initial full crawl.
Step 5: Monitor the initial crawl and validation
After saving:
- The connector enters an initial sync phase, including validation of API access (using the Directory Admin identity) and the first full crawl of in-scope primary calendars.
- In Admin Console > Data sources > Google Calendar, monitor status:
- Once the crawl and subsequent indexing pass complete, the connector will report a Healthy state.
- If validation fails with an error like
GOOGLECALENDAR-1, follow the troubleshooting guidance.
- Verify behavior by:
- Searching in Glean with the app
:googlecalendarand a known meeting title. - Checking for hero meeting cards and Meeting Summary icons on the home page for recent meetings with transcripts.
- Searching in Glean with the app