{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1382,"path":"api-reference/web-services/t_OAuthDemoConfigureGoogle.md","title":"OAuth 2.0 tutorial - configure the Google service as an OAuth provider","bundle":null,"doc_type":null,"release":"australia","body":"\n# OAuth 2.0 tutorial - configure the Google service as an OAuth provider\n\nUse the Google Developer Console to set up an OAuth 2.0 provider.\n\n## Before you begin\n\nThis procedure is performed within the Google Developer Console. You must have a Google account to access this console.\n\nRole required: None\n\n## About this task\n\nConfigure the Google service in order to obtain a client ID and client secret, and specify your ServiceNow instance URL as the OAuth redirect URL.\n\n**Note:** This information describes the state of the Google Developer Console and Contacts API as of July 22, 2015. Changes made after that date may not be included in this document.\n\n## Procedure\n\n1.  Navigate to the Google Developer Console \\(`https://console.developers.google.com`\\).\n\n2.  Log in using your Google credentials.\n\n3.  Click **Create a project**.\n\n4.  Enter a **Project name**.\n\n5.  Click **Create**.\n\n    After Google creates the project, the project dashboard appears.\n\n6.  Navigate to **APIs &amp; Services** &gt; **Enable APIs &amp; Services**.\n\n7.  Click the **Enable APIs and Services** button.\n\n8.  Enter Contacts API in the search bar.\n\n9.  Click on **Contacts API** and then click **Enable API**.\n\n10. Return to the **APIs &amp; Services** homepage from the hamburger menu and navigate to **APIs &amp; Services** &gt; **OAuth consent screen**.\n\n11. Click **Configure consent screen** and complete the app registration wizard according to your business needs.\n\n12. Navigate to **APIs &amp; Services** &gt; **Credentials** and click **Create Credentials** &gt; **Oauth client ID**.\n\n13. Select **Web application** from the drop down.\n\n14. Enter a descriptive OAuth 2.0 client in the **Name**.\n\n    This name appears when you authorize the OAuth token in your instance.\n\n15. In the **Create Client ID** window, add the OAuth redirect URI for your instance to the **Authorized redirect URIs** field.\n\n    This URI follows the format `https://<instance>.service-now.com/oauth_redirect.do`\n\n16. Click **Create**.\n\n    The client ID information appears.\n\n17. Record the **Client ID** and **Client secret** values.\n\n    You use these values to configure the Google service as an OAuth provider in your instance.\n\n\n**Parent Topic:**[Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/c_OAuth2ProfileTutorialGoogle.md)\n\n**Previous topic:**[Outbound REST with OAuth 2.0 profile tutorial - integrating with Google Contacts API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/web-services/c_OAuth2ProfileTutorialGoogle.md)\n\n**Next topic:**[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)\n\n"}}