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_driveSupported File Types
| File Type | Format | Notes |
|---|---|---|
| Text Files | .txt, .md | Plain text and Markdown |
| Spreadsheets | .xls, .xlsx | Excel format |
| PDFs | .pdf | Portable Document Format |
| Google Docs | Native | Automatically converted to PDF |
| Google Sheets | Native | Automatically converted to XLSX |
Only supported file types are indexed. Other files are skipped during sync.
Setup
Step 1: Create Google Cloud Service Account
Open Google Cloud Console
- Go to Google Cloud Console
- Navigate to IAM & Admin → Service Accounts
- Select or create a project

Create Service Account
- Click Create Service Account
- Enter a name (e.g., “Gurubase Integration”)
- Click Create and Continue
- Skip permissions and principals steps
- Click Done

Download JSON Key
- Click on your new service account
- Go to Keys tab
- Click Add Key → Create new key
- Select JSON and click Create
- Save the downloaded file securely


Step 2: Connect to Gurubase
Navigate to Google Drive Integration
Go to Gurubase Dashboard → Select your Guru → Integrations → Ingestions → Google Drive

Step 3: Share Files with Service Account
Share Files in Google Drive
- Go to your Google Drive
- Select files or folders to index
- Click Share
- Enter the service account email (shown on the integration page or in the JSON key as
client_email) - Set permission to Viewer
- Click Send

Viewing Indexed Content
Imported files appear as individual sources in your Guru’s data sources list with thegoogle_drive label. You can:
- View the exact content that was indexed
- See when files were last synced
- Remove specific files from your Guru



