---
title: Integrating with Facebook Identity
slug: integrating-with-facebook-identity
docTags: 
createdAt: 2020-04-16T06:07:28.000Z
---

Pathfix allows you to easily add end-user OAuth based integration, handling authorization and enable communication between your app and Facebook Identity (SSO) in just a few minutes.

Before proceeding, you will first need to register your application with Facebook here: [https://developers.facebook.com/](https://developers.facebook.com/)

Please note: You will need to create a developer account with Facebook and add an App for Facebook Login to proceed

:::hint{type="info"}
## Important

If you are working with Facebook and Instagram Graph API, make sure you create a new app for each in Facebook developer portal
:::



## Add your App in Facebook



- Click on `My Apps` dropdown and choose your App from the list



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/6scrvsWMFenX9U2oa62pL_image.png "Image: Facebook App")

- From the App Dashboard, click on `Settings` in the left navigation
- Select `Basic`



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





- Copy the `App ID` and `App Secret` for use in Pathfix&#x20;
- This is your `Client ID` and Client `Secret` that will be used in Pathfix SSO setup



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/fH5jMt7pe5frH6O2CDe2g_image.png "Image: Facebook ClientID and ClientSecret")



- Under App Domain, enter `pathfix.com` and hit enter&#x20;
- Save the settings and proceed





![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/ITWpMfuLztAEiLCELHjHV_image.png "Image: App Domain")



- Click on `Facebook Login` from the list of products on the left navigation bar
- Select `Settings`



::Image[]{src="https://api.archbee.com/api/presign/E6H_--BmYJWG_yGaOUOxt/E1W5PVid8vQEd1fFuymQD_image.png" size="24" caption="Image: Settings" position="center" showCaption="true"}



- In `Client OAuth Settings`, navigate to `Valid OAuth Redirect URIs`
- Enter the following Pathfix Redirect URI `https://labs.pathfix.com/integrate/command`
- Save the settings



![](https://archbee-doc-uploads.s3.amazonaws.com/E6H_--BmYJWG_yGaOUOxt/_nuN4VmeLF4dJ9hEPoPgQ_image.png "Image: Facebook Redirect URIs")







## Setup in Pathfix



For easy SSO integration with Facebook Login, we recommend using the SSO Extension. This documentation will walk you through the SSO Extension setup.

*Note: if you have an existing app created in Pathfix, you can skip this next few step and jump to our SSO setup documentation here&#x20;*[Single Sign on (SSO) / Social login](docId:8ojvXce-GcPu6NI-OHuUY)**



- Login to your Pathfix account and click on `Add Application`&#x20;
- Add the name of your SaaS and hit `Save`
- Click on `Extensions` from the left Nav and select `SSO`

&#x20;



## 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!

