{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1192,"path":"api-reference/web-services/c_OAuth2ProfileTutorialGoogle.md","title":"Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API","bundle":null,"doc_type":null,"release":"australia","body":"\n# Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API\n\nThis tutorial explains how to use an OAuth 2.0 profile to authenticate an outbound REST message with Google to retrieve contact information.\n\nThe 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.\n\n1.  [OAuth 2.0 tutorial - configure the Google service as an OAuth provider](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/t_OAuthDemoConfigureGoogle.md)  \nUse the Google Developer Console to set up an OAuth 2.0 provider.\n2.  [OAuth 2.0 tutorial - create an OAuth provider and profile](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/t_OAuthDemoCreateProvider.md)  \nSet up the Google service as an OAuth provider in ServiceNow by entering your client information, Google API URLs, and configuring the OAuth profile.\n3.  [OAuth 2.0 tutorial - create a REST message](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/t_OAuthDemoCreateRESTMessage.md)  \nCreate a REST message and associated HTTP method to contact the Google service using the OAuth 2.0 profile.\n\n**Parent Topic:**[Configure a REST message with OAuth](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/t_ConfigureARESTMessageWithOAuth.md)\n\n"}}