Set up Google Workspace
Google Calendar, Gmail, and Google Drive require read permissions that Google marks as sensitive or restricted. These are only available through an internal Google app from your own organization. Without your own app, they are greyed out and the Google Workspace suite in MCP → Suite shortcuts is not available. Signing in with Google and putting files on a user's own Google Drive do work via the central AI-School app.
An internal app (user type Internal) does not need to be verified by Google and does not require a security assessment. Only accounts within your Google Workspace can use it to sign in and connect.
- In Google Cloud, create an OAuth consent screen with user type Internal in a project from your own organization. Add the scopes
openid,email,profile,calendar.events.readonly,drive.file,drive.readonly, andgmail.readonly, and enable the Gmail API, Google Drive API, Google Calendar API, and Google Picker API. - Create an OAuth client of type Web application with these two authorized redirect URIs:
https://ai-school-pro.firebaseapp.com/__/auth/handler(sign in with Google)https://europe-west1-ai-school-pro.cloudfunctions.net/completeConnectorOAuth(connectors)
- Provide the client ID and client secret through the agreed secure channel. The platform administrator sets them on the Google provider of your environment's tenant in Google Cloud Identity Platform, enables the Google sign-in method under Admin → Environment → Tenant, and fills in the Google Workspace domain, for example
school.nl. - In AI-School, go to Admin environment → AI settings → Tools → MCP → Suite shortcuts. Turn on Google Workspace and click Save. Staff can then turn on the integrations they want to use. Anyone who previously used a Google integration reconnects their Google account once.
Google sign-in then uses your organization’s app and shows only accounts from the configured domain. Organizations that share a Firebase project can each use their own client through their own Identity Platform tenant.
The built-in Gmail integration uses gmail.readonly for messages and threads. The separate Drive connections feature uses drive.file to upload files to Google Drive.