Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API
concept brazil Updated Sep 10, 2026 1 min read c_OAuth2ProfileTutorialGoogle.md
This tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information.
The procedures detailed in this tutorial require the oauth_admin and web_service_admin roles. Ensure you have both of these roles before starting this tutorial.
- OAuth 2.0 tutorial - configure the Google service as an OAuth provider
Use the Google Developer Console to set up an OAuth 2.0 provider. - OAuth 2.0 tutorial - create an OAuth provider and profile
Set up the Google service as an OAuth provider in ServiceNow by entering your client information, Google API URLs, and configuring the OAuth profile. - OAuth 2.0 tutorial - create a REST message
Create a REST message and associated HTTP method to contact the Google service using the OAuth 2.0 profile.
Parent Topic:Configure a REST message with OAuth
30 lines · 2.1 KB
--- title: Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API description: This tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/web-services/c\_OAuth2ProfileTutorialGoogle.html release: brazil product: Web Services classification: web-services topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Configure a message with OAuth, Outbound REST authentication, REST, Outbound, Web services, API implementation, API implementation and reference] --- # Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API This tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information. The procedures detailed in this tutorial require the oauth\_admin and web\_service\_admin roles. Ensure you have both of these roles before starting this tutorial. 1. [OAuth 2.0 tutorial - configure the Google service as an OAuth provider](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/t_OAuthDemoConfigureGoogle.md) Use the Google Developer Console to set up an OAuth 2.0 provider. 2. [OAuth 2.0 tutorial - create an OAuth provider and profile](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/t_OAuthDemoCreateProvider.md) Set up the Google service as an OAuth provider in ServiceNow by entering your client information, Google API URLs, and configuring the OAuth profile. 3. [OAuth 2.0 tutorial - create a REST message](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/t_OAuthDemoCreateRESTMessage.md) Create a REST message and associated HTTP method to contact the Google service using the OAuth 2.0 profile. **Parent Topic:**[Configure a REST message with OAuth](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/web-services/t_ConfigureARESTMessageWithOAuth.md)
| title | Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API |
| description | This tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/web-services/c\_OAuth2ProfileTutorialGoogle.html |
| release | brazil |
| product | Web Services |
| classification | web-services |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Configure a message with OAuthOutbound REST authenticationRESTOutboundWeb servicesAPI implementationAPI implementation and reference |