BAFOSJoin Waitlist
BAFOS Docs

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/docs hub.

Authentication Options

Standard

Service Account / Token

Connect using a Google Cloud Service Account JSON key or read-only access token with drive.readonly permissions.

Enterprise

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

1

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.

2

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.

3

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

DateTypeDescription
2026-11-17AddedIntegration with /tools/docs hub displaying live synced Google Docs and word counts.
2026-11-16AddedDocument context extraction wired into multi-provider AI studio.
2026-11-15InitialGoogle Docs and Drive API v3 read-only connector.