π 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:Or fetch credentials dynamically via the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
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.- How to register your own Google Calendar OAuth app
Register an OAuth app with Google Calendar and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Google Calendar
Enable them in your dashboard. Extend and customize to fit your needs.Access Control
| Function name | Description | Type | Source code |
|---|---|---|---|
create-acl-rule | Creates an access control rule granting calendar access | Action | π Github |
delete-acl-rule | Deletes an access control rule | Action | π Github |
get-acl-rule | Returns an access control rule by rule ID | Action | π Github |
list-acl-rules | Returns the rules in the access control list for a calendar | Action | π Github |
update-acl-rule | Updates an access control rule | Action | π Github |
Attendees
| Function name | Description | Type | Source code |
|---|---|---|---|
add-attendee | Adds an attendee to an existing calendar event | Action | π Github |
remove-attendee | Removes an attendee from an existing calendar event | Action | π Github |
update-attendee-response | Updates an attendeeβs response status for an event | Action | π Github |
Calendars
| Function name | Description | Type | Source code |
|---|---|---|---|
clear-calendar | Clears a primary calendar by deleting all events | Action | π Github |
create-calendar | Creates a new secondary calendar with the specified title | Action | π Github |
delete-calendar | Deletes a secondary calendar | Action | π Github |
get-calendar-list-entry | Returns a calendar from the userβs calendar list | Action | π Github |
get-calendar | Returns metadata for a calendar by calendar ID | Action | π Github |
insert-calendar-to-list | Inserts an existing calendar into the userβs calendar list | Action | π Github |
list-calendars | Returns all calendars on the userβs calendar list | Action | π Github |
remove-calendar-from-list | Removes a calendar from the userβs calendar list | Action | π Github |
update-calendar-list-entry | Updates an existing calendar on the userβs calendar list | Action | π Github |
update-calendar | Updates metadata for a calendar | Action | π Github |
calendars | Sync the calendars list of the user | Sync | π Github |
Events
| Function name | Description | Type | Source code |
|---|---|---|---|
create-all-day-event | Creates an all-day event on a calendar | Action | π Github |
create-event | Creates a new event on a calendar | Action | π Github |
create-recurring-event | Creates a recurring event with RRULE specification | Action | π Github |
delete-event | Deletes an event from a calendar | Action | π Github |
get-event-instances | Returns instances of a recurring event | Action | π Github |
get-event | Returns an event based on its calendar and event ID | Action | π Github |
import-event | Imports an event as a private copy using iCalendar UID | Action | π Github |
list-events | Returns events on a specified calendar with optional filtering | Action | π Github |
list-upcoming-events | Returns upcoming events starting from now | Action | π Github |
move-event | Moves an event to another calendar changing its organizer | Action | π Github |
patch-event | Partially updates an event with only provided fields | Action | π Github |
quick-add-event | Creates an event based on a simple text string like a natural language input | Action | π Github |
search-events | Searches for events matching a text query across calendars | Action | π Github |
update-event | Updates an existing event on a calendar | Action | π Github |
events | Sync calendar events on the primary calendar going back one month and save the entire object as specified by the Google API | Sync | π Github |
Scheduling
| Function name | Description | Type | Source code |
|---|---|---|---|
find-free-slots | Finds available time slots across calendars within a time range | Action | π Github |
query-free-busy | Returns free/busy information for a set of calendars | Action | π Github |
Settings
| Function name | Description | Type | Source code |
|---|---|---|---|
get-colors | Returns the color definitions for calendars and events | Action | π Github |
get-setting | Returns a single user setting by setting ID | Action | π Github |
list-settings | Returns all user settings for the authenticated user | Action | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
settings | Fetch all user settings from Google Calendar | Action | π Github |
whoami | description: Fetch current user information | Action | π Github |