--- title: Set up the Google Calendar spoke description: Set up an outbound integration between your ServiceNow instance and the Google Calendar Application Programming Interfaces \(API\) by setting up a connection and credential record.Create an OAuth application on the Google Calendar that authenticates requests to access the Google Calendar APIs from your ServiceNow instance. After successful authentication, you can generate an OAuth token that your ServiceNow can use to access the Google Calendar APIs.Create a connection and credential record that enables your ServiceNow instance to integrate with the Google Calendar Application Programming Interface \(API\). locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/integrate-applications/integration-hub/setup-gcal.html release: australia product: Integration Hub classification: integration-hub topic_type: task last_updated: "2023-08-03" reading_time_minutes: 5 breadcrumb: [Google Calendar Spoke, Integration Hub spokes, Build integrations, Integration Hub, Workflow Data Fabric] --- # Set up the Google Calendar spoke Set up an outbound integration between your ServiceNow instance and the Google Calendar Application Programming Interfaces \(API\) by setting up a connection and credential record. ## Before you begin - Request an Integration Hub subscription. - Activate the Google Calendar spoke. - Ensure that you have a Google Workspace account. - Ensure that you have a domain and an email address related with the domain. For example, www.mydomain.com and jane-admin@mydomain.com. **Note:** you can only register one email address per domain in Google Workspace. - Role required: admin. ## Create OAuth application on Google Calendar Create an OAuth application on the Google Calendar that authenticates requests to access the Google Calendar APIs from your ServiceNow instance. After successful authentication, you can generate an OAuth token that your ServiceNow can use to access the Google Calendar APIs. ### Before you begin Google Calendar spoke integration requirements: - A domain and an email address associated with the domain. For example, www.mydomain.com and jane-admin@mydomain.com. Note that you can only register one email address per domain in Google Workspace. - Google Workspace login credentials created with the same domain. Role required: admin. ### Procedure 1. Log in to [https://console.developers.google.com](https://console.developers.google.com) with your Google Workspace credentials. 2. Create a project on Google Workspace. The project provides the OAuth application and the permissions to access the Google Calendar APIs from your ServiceNow instance. 1. Select the button. \[Omitted image "google-calendar-spokes-click-create-project.png"\] Alt text: Create project button for Google Calendar on Google Workspace. 2. On the Select a Project window, select **NEW PROJECT**. 3. In the Project name field, enter a unique name for the project. 4. In the Location field, select BROWSE to select an organization. 5. Select **CREATE**. The Notifications window confirms that the project is created. \[Omitted image "gcalendar-spoke-proj-created.png"\] Alt text: Project creation confirmation. 6. Select SELECT PROJECT. 3. Enable the Google Calendar API permissions. 1. Select **+ ENABLE APIS AND SERVICES**. \[Omitted image "gcalendar-spoke-enable-api.png"\] Alt text: Enable API and Services button. 2. On the Welcome to the API Library page, navigate to the Google calendar API card under the Google Workspace heading. \[Omitted image "gcalendar-spoke-api-button.png"\] Alt text: Google Calendar API button. 3. Select **Google Calendar API**. 4. Select **ENABLE**. The Google calendar API is enabled on your project. \[Omitted image "google-calendar-api-enabled.png"\] Alt text: Google Calendar API is enabled. 4. Create the credentials that the connection and credential form will store. 1. Select **CREATE CREDENTIALS**. \[Omitted image "google-calendar-create-creds.png"\] Alt text: Create credentials button to access Google Calendar API. 2. Fill the form.
| Select an API | Name of the API that your ServiceNow instance accesses. **Note:** Ensure that the Google Calendar API option is chosen. |
| What data will you be accessing? \* | Type of data that your ServiceNow instance accesses from the Google Calendar application.**Tip:** To create an OAuth application, select User data. |