Skip to main content

🚀 Quickstart

Connect to Google Drive with Nango and see data flow in 2 minutes.
1

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.
2

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.
3

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:
curl "https://api.nango.dev/proxy/drive/v3/files?pageSize=10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

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. Official docs: Google Drive API Documentation

🧩 Pre-built syncs & actions for Google Drive

Enable them in your dashboard. Extend and customize to fit your needs.

Documents

Function nameDescriptionTypeSource code
documentsSync 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 nameDescriptionTypeSource code
foldersSync root-level Google Drive folders from My Drive and shared drivesSync🔗 Github

Permissions

Function nameDescriptionTypeSource code
permissionsSync file permissions from Google DriveSync🔗 Github

Shared Drives

Function nameDescriptionTypeSource code
shared-drivesSync shared drives from Google DriveSync🔗 Github