Skip to main content

🚀 Quickstart

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

Create an integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Google Docs.
Nango has credentials you can use for testing. Activate them in the dashboard.
2

Authorize Google Docs

Go to Connections -> Add Test Connection -> Authorize, then log in to Google Docs. Later, you’ll let your users do the same directly from your app.
3

Call the Google Docs API

Let’s make your first request to the Google Docs API (fetch a specific document). Replace the placeholders below with your secret key, integration ID, and connection ID:
curl "https://api.nango.dev/proxy/v1/documents/{documentId}" \
  -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.
The {documentId} in the URL represents the ID of the document to retrieve.
✅ 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 Docs Integration Guides

Nango maintained guides for common use cases. Official docs: Google Docs API documentation

🧩 Pre-built syncs & actions for Google Docs

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

Others

Function nameDescriptionTypeSource code
document-content-by-idSync full document structure and content for document IDs supplied in connection metadataSync🔗 Github
documents-from-drive-foldersDiscover Google Docs files under folder IDs from metadata, then hydrate each document through the Docs API.Sync🔗 Github
documents-from-drive-queryDiscover Google Docs files with a Drive search query, then sync each document contentSync🔗 Github
documents-from-shared-drivesDiscover Google Docs files across shared drives and hydrate each document through the Docs APISync🔗 Github
recent-documentsSync recently modified Google Docs files from Drive and fetch current document content for each changed file.Sync🔗 Github