---
title: Creating an app in Facebook
description: To allow PingFederate to process sign-on requests using Facebook, add PingFederate as a sign-on provider in Facebook.
component: facebook
page_id: facebook:facebook_login_integration_kit:pf_facebook_cic_creating_an_app_in_facebook
canonical_url: https://docs.pingidentity.com/integrations/facebook/facebook_login_integration_kit/pf_facebook_cic_creating_an_app_in_facebook.html
revdate: June 11, 2024
section_ids:
  steps: Steps
---

# Creating an app in Facebook

To allow PingFederate to process sign-on requests using Facebook, add PingFederate as a sign-on provider in Facebook.

## Steps

1. Sign on to the [Facebook developer apps](https://developers.facebook.com/apps) page.

2. Create the app.

   1. Click **Create App**.

   2. On the **Select an app type** modal, in the **Which products, permissions and features does your app need?** section, select **Consumer**.

   3. Configure the basic app details. Click **Create App**.

   4. Confirm your password. Click **Submit**.

3. On the **Add a Product** page, for **Facebook Login**, click **Set Up**.

4. Click **Web**.

5. On the **Web** tab, in the **Tell Us about Your Website** section, in the **Site URL** field, enter your PingFederate Facebook authentication URL based on the following. Click **Save**. Click **Continue**.

   ```
   https://pf_host:pf_port/ext/facebook-authn/
   ```

6. Disregard the remaining sections on this page, your settings are saved automatically.

7. Go to **Products > Facebook Login > Settings**.

   ![A screenshot that shows the navigation path for the Facebook Login settings.](_images/onn1623869418596.jpg)

8. In the **Valid OAuth Redirect URIs** field, enter the same PingFederate URL.

   ![A screenshot that shows the Valid OAuth Redirect URIs field.](_images/mqn1623869449689.jpg)

9. Click **Save Changes**.

10. Go to **Settings > Basic**. Note your **App ID** and **App Secret**.

    ![A screenshot that shows the navigation path for the basic app settings.](_images/nxk1623869706000.jpg)

    You will use these in [Configuring an adapter instance](pf_facebook_cic_configuring_an_adapter_instance.html).

11. **Optional:** Go to **Settings > Advanced**. In the **Security** section, turn on **Require App Secret**. Click **Save Changes**.
