๐ Quickstart
Connect to Google Drive with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Google Drive.
Nango has credentials you can use for testing. Activate them in the dashboard.
Authorize Google Drive
Go to Connections -> Add Test Connection -> Authorize, then log in to Google Drive. Later, youโll let your users do the same directly from your app.
Call the Google Drive API
Letโs make your first request to the Google Drive API (fetch a list of files). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.โ
Youโre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
๐ Google Drive Integration Guides
Nango maintained guides for common use cases.-
How to register your own Google Drive OAuth app
Register an OAuth app with Google Drive and obtain credentials to connect it to Nango - Complete integration example with the Nango Sample App See a production-ready Google Drive integration with file picker, webhooks, and file syncing. Includes a demo video walkthrough and GitHub repository.
- Google App & Security Review Pass Googleโs OAuth app verification and CASA security assessment to go to production
๐งฉ Pre-built syncs & actions for Google Drive
Enable them in your dashboard. Extend and customize to fit your needs.Documents
| Function name | Description | Type | Source code |
|---|---|---|---|
documents | Sync file metadata for IDs in connection metadata files, or recursively for all files under folder IDs in folders. Supports shared drives. | Sync | ๐ Github |
Folders
| Function name | Description | Type | Source code |
|---|---|---|---|
folders | Sync root-level Google Drive folders from My Drive and shared drives | Sync | ๐ Github |
Permissions
| Function name | Description | Type | Source code |
|---|---|---|---|
permissions | Sync file permissions from Google Drive | Sync | ๐ Github |
Shared Drives
| Function name | Description | Type | Source code |
|---|---|---|---|
shared-drives | Sync shared drives from Google Drive | Sync | ๐ Github |