---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API

# Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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://servicenow-prod.fluidtopics.net/PtghE3tDbl0YdAscpLWLGg)  
   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://servicenow-prod.fluidtopics.net/NKBl77dMjQW3KEfuM1d2Lg)  
   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://servicenow-prod.fluidtopics.net/0GeFpm8KUq6rnp8wNbddtQ)  
   Create a REST message and associated HTTP method to contact the Google service using the OAuth 2.0 profile.

