# GOOGLE

**Step 1 - Configure Google API Console**

* Go to <https://console.developers.google.com/> and sign up/log in.
* Click on **Select Project** to create a new Google Apps Project, you will see a popup with the list of all your projects.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2F3w8MPbpnjJmOCPN3iRDT%2Foauth_11.png?alt=media&#x26;token=0806fb0b-0129-4fd8-8f6b-18369e0cf25b" alt=""><figcaption></figcaption></figure>
* You can click on the New Project button to create a **New project**.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FI6wW4hOaj1LN9B32b0BH%2Fauth_11_2.png?alt=media&#x26;token=5a9d6271-854c-4d94-8904-1ccb8f982107" alt=""><figcaption></figcaption></figure>
* Enter your Project name under the **Project Name** field and click on Create.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FxRVKnJWNoI5AzLqRXnqY%2Fouath_11_3.png?alt=media&#x26;token=7f28c64a-a15d-406f-b9f5-141aad02e4a1" alt=""><figcaption></figcaption></figure>
* Go to **Navigation Menu -> APIs -> Services -> Credentials.**

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2Fikxm36LlpNnkUQ4ayynT%2Foauth_11_4.png?alt=media&#x26;token=be212cca-6607-4520-a031-262111b0c43e" alt=""><figcaption></figcaption></figure>
* Click the Create Credentials button and select **OAuth Client ID** from the options provided.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FRcLGG2J4sYHKjRmbACem%2Foauth_11_5.png?alt=media&#x26;token=2983f290-7f6d-44b1-8110-62fa58e78c54" alt=""><figcaption></figcaption></figure>
* In case you are facing some warning saying that in order to create an OAuth Client ID, you must set a product name on the consent screen (as shown in the below image). Click on the **Configure consent screen** button.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FOHq8LkAiGSQuJsENQzcT%2Foauth_11_6.png?alt=media&#x26;token=990ab7dc-7b95-4c13-a8eb-6567280e8b1c" alt=""><figcaption></figcaption></figure>
* Choose how you want to configure and register your app and click on **Create** button.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FlpuluYYV3SchHkrWELXc%2Foauth_11_7.png?alt=media&#x26;token=95fe6376-ef50-4ed3-af00-3724c470511b" alt=""><figcaption></figcaption></figure>
* Enter the required details such as **App Name**, and **User Support Email**. and click on the **Save and Continue** buttons.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2F1Dr7AvH8qgqbyPMl7T6P%2Foauth_11_8_1.png?alt=media&#x26;token=ff25cb43-26d2-4792-bfcd-78de7d3945de" alt=""><figcaption></figcaption></figure>

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FiH6XhZ3pHC02uYHVNeYJ%2Foauth_11_9_1.png?alt=media&#x26;token=9a184802-2fa7-4ca6-bebb-dc494c0d0fcf" alt=""><figcaption></figcaption></figure>
* Now for configuring scopes, click on **Add or Remove the Scopes** button.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2F9UPLL4MSFzCykgt5qjil%2Foauth_11_10.png?alt=media&#x26;token=319e3bd8-6140-42d1-b58f-377b2cd5a4f3" alt=""><figcaption></figcaption></figure>
* Now, Select the Scopes to allow your project to access specific types of private user data from their Google Account and click on the Update button.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FhfhCEwc8nmQy8cYTMd9u%2Foauth_11_11.png?alt=media&#x26;token=58bd3b19-7bb6-4356-a809-8592528a933e" alt=""><figcaption></figcaption></figure>
* Go to the Credentials tab and click on Create Credentials button. Select **Web Application** from the dropdown list to create a new application.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FvEAYPPrwQ3w6p0f9uIXK%2Foauth_11_12_1.png?alt=media&#x26;token=b214697e-7657-4516-9b81-4229bc0c56a9" alt=""><figcaption></figcaption></figure>
* Enter the name you want for your Client ID under the **Name** field and enter the **Authorized Redirect URIs** field and click on Create button.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2Ftq2IazSIDz2mXsXhPlrp%2Foauth_11_13.png?alt=media&#x26;token=4575474a-1325-4402-aa39-e46bdfff311e" alt=""><figcaption></figcaption></figure>
* You will see a popup with the **Client ID** and **Client Secret,** Copy your Client ID and Client Secret and save it.

  <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FDklm4cVgIsVMVTOiBzx3%2Foauth_11_14.png?alt=media&#x26;token=f4ac2d3a-ac3e-4369-8769-d08730d25c55" alt=""><figcaption></figcaption></figure>

**Step 2 - Configure Google Details in CloudIO**

1. Login to CloudIO and navigate to the settings tab.

   ![](https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FKjCHgsCDuDAElsOZr4fn%2FScreenshot%202023-04-06%20at%2011.14.51%20PM.png?alt=media\&token=f48781e8-ee8f-4da8-ad26-f5ae32fed6bc)
2. Select the **OAUTH** Auth provider and complete the following details.

   <figure><img src="https://754235390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZ64BhrvkgPMyL9F3tk%2Fuploads%2FvxOxuBjJCumCqCJDxuCk%2Foauth_11_16_1.png?alt=media&#x26;token=5b979d1e-109c-43ae-be3f-fafcd6d9dbf5" alt=""><figcaption></figcaption></figure>
