- ๐ Quickstart
- ๐งโ๐ป OAuth app setup
- ๐ Useful links
- ๐จ API gotchas
1
Create an integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Google Docs. Nango doesnโt provide a test OAuth app for Google Docs yet. Youโll need to set up your own by following these instructions. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Nango.
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:Or fetch credentials dynamically via the Node SDK or API.
- cURL
- Node
The
{documentId} in the URL represents the ID of the document to retrieve.Questions? Join us in the Slack community.