Skip to main content

πŸš€ Quickstart

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

Create an integration

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

Authorize Google Calendar

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

Call the Google Calendar API

Let’s make your first request to the Google Calendar API (fetch a list of calendars). Replace the placeholders below with your secret key, integration ID, and connection ID:
  • cURL
  • Node
curl "https://api.nango.dev/proxy/calendar/v3/users/me/calendarList?maxResults=10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials dynamically via 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 quickstart to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.

πŸ“š Google Calendar Integration Guides

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

🧩 Pre-built syncs & actions for Google Calendar

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

Calendars

Function nameDescriptionTypeSource code
calendarsSync the calendars list of the userSyncπŸ”— Github

Events

Function nameDescriptionTypeSource code
eventsSync calendar events on the primary calendar going back one month and save the entire object as specified by the Google APISyncπŸ”— Github

Users

Function nameDescriptionTypeSource code
whoamidescription: Fetch current user informationActionπŸ”— Github
settingsFetch all user settings from Google CalendarActionπŸ”— Github