Integrate Google Calendar With ServiceNow - How To Read The Docs - Integration Part 1 - Developer Community - Article - ServiceNow Community
Integrate Google Calendar With ServiceNow - How To Read The Docs - Integration Part 1 - Developer Community - Article - ServiceNow Community
Hi Developers,
I'm back and this time I am going to guide you to Schedule a Google Meet from ServiceNow.
In this first part I'll be guiding you on how to connect ServiceNow with Google APIs for Calendar.
In next parts we will be discussing how to create a REST Message and use it to schedule a meeting.
So let's begin. ..
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 1/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 3) Navigate to the section 'Reference' and select 'insert' under 'Events' menu options
Step 4) In new tab visit https://console.developers.google.com/, Select your country, accept the terms and click 'AGREE
AND CONTINUE'
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 2/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 3/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 4/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 11) Click 'CREATE CREDENTIALS' and select OAuth client ID'
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 5/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 6/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 7/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 16) Navigate back to Credentials and select 'OAuth client ID' under 'CREATE CREDENTIALS'
Step 17) Select Application type as 'Web application' and give it a unique name
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 8/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 19) Note down the OAuth 'Client ID' & 'Client Secret' and click 'OK'
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 9/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 10/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 22) In ServiceNow, Navigate to System OAuth > Application Registry and click 'New'
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 11/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 24) Give it a unique name and copy to fill the information (client_id, auth_uri, token_uri, client_secret) from the
downloaded json file opened in text editor
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 12/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 26) Under the section 'OAuth Entity Scopes' create two records as follows and click 'Submit'
Calendar : https://www.googleapis.com/auth/calendar
CalendarEvent : https://www.googleapis.com/auth/calendar.events
The above information is available and copied from the API Reference web page opened in step 3
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 13/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 27) Open the record again and copy the Redirect URL
Step 28) Navigate back to the page opened in step 20 and click on your OAuth 2.0 Client ID record
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 14/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Step 29) Click "ADD URI' under 'Authorized redirect URIs', paste the Redirect URI Copied from step 27 and click 'SAVE'
So here we are done with the first part of this article and we have successfully created an OAuth Connection
between Google Calendar APIs with ServiceNow.
Please go through the second part of this article to learn how to create a REST Message to use this API.
Thank You,
Vishal Ingle
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 15/16
7/6/22, 7:54 PM Integrate Google Calendar With ServiceNow - How to read the Docs - Integration Part 1 - Developer Community - Article - Service…
Maharashtra, IN.
Topics: Integrations
Version: Not Applicable
https://community.servicenow.com/community?id=community_article&sys_id=728b5936db82d0104aa5d9d968961905 16/16