Skip to main content
The Google Drive connector indexes documents, spreadsheets, presentations, and other files from Google Drive using service account authentication with domain-wide delegation.

What gets indexed

  • Google Docs
  • Google Sheets
  • Google Slides
  • PDFs
  • Text files
Only files with domain-wide read access are indexed.

Setup

1

Connect to Grapevine

  1. In Grapevine, go to Integrations and click on Google Drive
  2. A service account will be automatically created for your organization
  3. Note the Client ID displayed on the screen
2

Configure domain-wide delegation

  1. Go to Google Workspace Admin Console
  2. Click Add new to create a new API client
  3. Enter the Client ID from Step 1
  4. Add the following OAuth scopes (comma-separated):
    https://www.googleapis.com/auth/drive.readonly,
    https://www.googleapis.com/auth/admin.directory.user.readonly,
    https://www.googleapis.com/auth/admin.directory.group.readonly
    
  5. Click Authorize
3

Enter admin email

  1. Return to the Grapevine integration page
  2. Enter your Google Workspace admin email address
  3. Click Save Configuration
4

Indexing begins

Grapevine will automatically begin indexing your Google Drive content. The initial sync may take time depending on the size of your Google Workspace.

Permissions

The Google Drive connector uses domain-wide delegation to access files:
  • Only files with domain-wide read access are indexed
  • Files must be accessible to your entire workspace domain
  • Private files (visible only to specific users) are excluded
  • Files shared only with specific people/groups are excluded

Sync behavior

The initial indexing process may take time depending on the size of your Google Workspace. Real-time updates are configured automatically.
  • Initial sync - Begins automatically after setup completion
  • Ongoing syncs - Real-time updates keep your index current with changes
  • Deletions - Deleted files are removed from the index automatically

Limitations

  • Only files with domain-wide read access are indexed
  • Files owned by suspended user accounts are not indexed
  • Folders are not indexed as separate entities
  • Trashed files are automatically excluded from indexing