Skip to main content
Turn your Google Drive into AI knowledge. Import documents, spreadsheets, and PDFs so your Guru can answer questions based on your team’s files.

Why Ingest Google Drive Data?

Docs & Spreadsheets

Import Google Docs, Sheets, PDFs, and text files

Share & Sync

Simply share files with a service account to index them

Auto-Sync

Files stay in sync — edits are automatically re-indexed

Automatic Labels

Imported files are automatically labeled google_drive

Supported File Types

File TypeFormatNotes
Text Files.txt, .mdPlain text and Markdown
Spreadsheets.xls, .xlsxExcel format
PDFs.pdfPortable Document Format
Google DocsNativeAutomatically converted to PDF
Google SheetsNativeAutomatically converted to XLSX
Only supported file types are indexed. Other files are skipped during sync.

Setup

Step 1: Create Google Cloud Service Account

1

Open Google Cloud Console

  1. Go to Google Cloud Console
  2. Navigate to IAM & AdminService Accounts
  3. Select or create a project
Google Cloud Console Service Accounts page
2

Create Service Account

  1. Click Create Service Account
  2. Enter a name (e.g., “Gurubase Integration”)
  3. Click Create and Continue
  4. Skip permissions and principals steps
  5. Click Done
Create Service Account dialog
3

Download JSON Key

  1. Click on your new service account
  2. Go to Keys tab
  3. Click Add KeyCreate new key
  4. Select JSON and click Create
  5. Save the downloaded file securely
Service Account Keys tab
Create new key dialog
4

Enable Google Drive API

  1. Go to APIs & Services in the console
  2. Click Enable APIs and services
  3. Search for Google Drive API
  4. Click Enable
Enable Google Drive API

Step 2: Connect to Gurubase

1

Navigate to Google Drive Integration

Go to Gurubase Dashboard → Select your Guru → IntegrationsIngestionsGoogle Drive
Empty Google Drive integration state
2

Upload JSON Key

Paste or upload the JSON key file and click Connect
No files shared message

Step 3: Share Files with Service Account

1

Share Files in Google Drive

  1. Go to your Google Drive
  2. Select files or folders to index
  3. Click Share
  4. Enter the service account email (shown on the integration page or in the JSON key as client_email)
  5. Set permission to Viewer
  6. Click Send
Share files with service account in Google Drive
2

Sync Files

  1. Return to Gurubase integration page
  2. Click Sync Now to start indexing
Shared and synced files
Share entire folders to automatically index all files inside. New files added to shared folders will be indexed on the next sync.

Viewing Indexed Content

Imported files appear as individual sources in your Guru’s data sources list with the google_drive label. You can:
  • View the exact content that was indexed
  • See when files were last synced
  • Remove specific files from your Guru
Last indexed timestamp

Next Steps