Gebo.ai setup guide · Integrations · Page 11
Google Drive and Workspace
Let Gebo.ai read shared drives and folders of your Google Workspace through a service account that acts on behalf of a user.
- Time
- 15 minutes, most of them in the Google consoles.
- You need
- A Google Cloud project with a service account, its JSON key, domain-wide delegation granted in the Workspace admin console, and the user Gebo.ai will read as.
1In Google Cloud and Workspace: the service account
- In console.cloud.google.com create or pick a project and enable the Google Drive API.
- IAM & Admin → Service accounts → Create service account; then Keys → Add key → JSON: a
.jsonfile is downloaded. - In the Workspace admin console: Security → Access and data control → API controls → Domain-wide delegation → Add new: the service account’s client ID with the scope
https://www.googleapis.com/auth/drive.readonly.
Why a user to impersonateWith domain-wide delegation the service account reads as a Workspace user. Choose a user who sees the shared drives to index, for example a dedicated
gebo@yourcompany.com account.2In Gebo.ai: enter the credentials
In Setup → Enterprise integrations click Google Drive/Workspaces integration, then + Google Drive.

- Google user to impersonate: the e-mail of the Workspace user.
- Google credentials json content: paste the whole content of the downloaded
.jsonkey file. - Give it a description and click Create.
3Then add the data source
Admin → Knowledge bases & projects → +Add data source → +google drive: pick the connection, the drives or folders and Publish!, as in step 5.
