Google Workspace Integration Guide
The Google Workspace integration connects Google Docs and Google Drive folders to sync engineering design documents, PRDs, and architecture specs directly into your project intelligence stream.
What It Does
- Document Syncing: Ingests text and structured sections from Google Docs.
- Cross-Review Support: Supplies PRD requirement statements to AI Studio for cross-checking against open GitHub Pull Requests.
- Revision Logs: Surfaces recent document edits and collaborators in the
/tools/docshub.
Authentication Options
Service Account / Token
Connect using a Google Cloud Service Account JSON key or read-only access token with drive.readonly permissions.
1-Click Google OAuth
Connect with 1-click if your workspace administrator has configured a Google Cloud OAuth application.
Step-by-Step: How to Connect via Service Account
Create Service Account in Google Cloud
In Google Cloud Console, open IAM & Admin → Service Accounts. Click Create Service Account, name it bafos-docs-sync, and create a JSON key.
Share the Google Doc or Folder
Open your Google Doc or Drive folder, click Share, and add the service account email (e.g. [email protected]) with Viewer access.
Copy Document ID & Save
Copy the Document ID from the URL (the string between /d/ and /edit). In BAFOS, enter the Document ID and paste the credentials under Project Settings → Connected Stack → Google Workspace.
Maintained Changelog
| Date | Type | Description |
|---|---|---|
| 2026-11-17 | Added | Integration with /tools/docs hub displaying live synced Google Docs and word counts. |
| 2026-11-16 | Added | Document context extraction wired into multi-provider AI studio. |
| 2026-11-15 | Initial | Google Docs and Drive API v3 read-only connector. |