Attach files from Google Drive directly in the chat composer.
https://www.googleapis.com/auth/drive.filehttp://localhost:3000 (dev)https://your-domain.com (prod)NEXT_PUBLIC_GOOGLE_DRIVE_CLIENT_ID=your-client-id.apps.googleusercontent.com
| Type | Export Format |
|---|---|
| Regular files | Downloaded directly |
| Google Docs | Markdown (.md) |
| Google Sheets | CSV (.csv) |
| Google Slides | PDF (.pdf) |
| Google Drawings | SVG (.svg) |
Picker won't open: Check NEXT_PUBLIC_GOOGLE_DRIVE_CLIENT_ID is set and APIs are enabled.
OAuth errors: Verify your domain is in authorized JavaScript origins. Add yourself as test user if app is in testing mode.
Download fails: Check file permissions and that Drive API is enabled.
BIG-AGI
Resources