---
title: Integrating with Google Identity
slug: integrating-with-google-identity
docTags: 
createdAt: 2020-04-23T04:20:18.000Z
---

[](https://developer.xero.com/myapps)Pathfix allows you to easily add Google SSO (Login with Google) for your end-user, handling authorization and enable communication between your app and Google Identity in just a few minutes.

Before proceeding, you will first need to register your application and create a project with Google Cloud Platform here: [https://console.cloud.google.com/getting-started](https://console.cloud.google.com/getting-started)

Please note: You will need to create an GCP account with Google and be logged in to access this.



## Enable OAuth in Google

Access your Project on GCP

- Select your Project and click on the menu options
- Click on `APIs & Services` and select `OAuth consent screen`

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/rhRacTSgBAAUKuXCvK9Mp_image.png" size="62" caption="Image: OAuth consent screen" position="center" showCaption="true"}



- Select the type of User as External and click on Create
- The app will be available in test mode and will need to be submitted to Google for review (this can be done later as well)



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/C1sYc_EDKc0hFlpTE4SP5_image.png "Image: User Type")



- Add the name of your app (this is what your users will see once you app is approved by Google)
- Fill in the rest of the App domain info
- Save and continue

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/rlVRF9ScFaeALY0clhe0W_image.png" size="74" caption="Image: App Domain" position="center" showCaption="true"}



- In the following page, select the below scopes for Identity:

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/z0gI2z8ImrqCnGjmn1i_e_image.png" size="68" caption="Image: Google Identity scopes" position="center" showCaption="true"}



- Click on `Credentials` from the left nav bar
- Click `Create Credentials` and select `OAuth client ID`

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/fDIjObS-fXNXplGa9qS9l_image.png" size="86" caption="Image: Create Credentials" position="center" showCaption="true"}



- Add the name of your OAuth 2.0 client
- Under Authorized redirect URIs, add the Pathfix URI: `https://labs.pathfix.com/integrate/command`

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/eDl4Z9JxszGpL17tN_L_J_image.png" size="72" caption="Image: Redirect URIs" position="center" showCaption="true"}



- Once saved, you will receive your Google Client ID and Client Secret
- Copy this info for use in Pathfix

::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/qZFCwgxkLjx99iKZoI46Q_image.png" size="64" caption="Image: Google ClientID and Secret" position="center" showCaption="true"}



## Setup in Pathfix

- Login to your Pathfix account and click on `Add Application`
- Add the name of your SaaS and hit `Save`
- Click on Identity and select `Google Identity` from the list of providers to integrate with. You can change the Display `Name` and `Description`.&#x20;
- Enter the `Client ID` and `Client Secret` generated from Google



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/IqAthLPATwvM5_xTHkao5_image.png" size="86" caption="Image: Pathfix setup" position="center" showCaption="true"}



## Adding Integration To Your SaaS

Adding the SSO/Login functionality to the app is done based on your SaaS stack:

1. Code based platform using an extension: [Single Sign on (SSO) / Social login](docId:8ojvXce-GcPu6NI-OHuUY)&#x20;
2. No-code (Bubble) platform using our plugin: [Single Sign-on (SSO) Login](docId\:sUMKKrXP7QYvbsrOGpEvp)&#x20;







Need help? Reach out to us at support\@pathfix.com and we would be happy to assist!



