> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pads4.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Meta

This document assumes that the reader is familiar with the Meta developer platform, including how to create and submit apps for review.

The steps below explain how to create and configure a Meta app specifically for integration with **PADS4**.

## Create a New App

### Step 1: Access Meta Developer Platform

Go to the Meta Developer Apps page:<br />[https://developers.facebook.com/apps](https://developers.facebook.com/apps)

### Step 2: Create a New App

Click on the **Create App** button.<br />

<Frame>
  <img src="https://mintcdn.com/pads4/KAlGc65RuFmgxM8P/images/CTRLCenter/Credentials/Meta/MetaCreateApp.png?fit=max&auto=format&n=KAlGc65RuFmgxM8P&q=85&s=ca1224ab98e66fbcc44f4f7944ff0dd1" alt="Meta Create App" width="594" height="169" data-path="images/CTRLCenter/Credentials/Meta/MetaCreateApp.png" />
</Frame>

### Step 3: Select Business Portfolio (Optional)

You may choose a business portfolio. This can also be selected later when logging into the app with a user.<br />

<img src="https://mintcdn.com/pads4/KAlGc65RuFmgxM8P/images/CTRLCenter/Credentials/Meta/MetaBusinessPortofolio.png?fit=max&auto=format&n=KAlGc65RuFmgxM8P&q=85&s=1f5cae2e2ba5b47c51e504d50df515ca" alt="Meta Business Portofolio" title="Meta Business Portofolio" style={{ width:"86%" }} width="444" height="172" data-path="images/CTRLCenter/Credentials/Meta/MetaBusinessPortofolio.png" />

### tep 4: Choose Use Case

For the use case, select **Other**.<br />

<img src="https://mintcdn.com/pads4/KAlGc65RuFmgxM8P/images/CTRLCenter/Credentials/Meta/MetaUseCaseOther.png?fit=max&auto=format&n=KAlGc65RuFmgxM8P&q=85&s=c339a37092f96a0bb0cb4810635d46a2" alt="Meta Use Case Other" title="Meta Use Case Other" width="444" height="450" data-path="images/CTRLCenter/Credentials/Meta/MetaUseCaseOther.png" />

### Step 5: Select App Type

Choose **Business** as the app type.

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/meta/business-app-type.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=fab318d5dfc2dbb834d44a2aae2e42cc" data-path="images/ctrl-centre/credentials/meta/business-app-type.png" />

### Step 6: Enter App Details

Fill in the required app details. You may also select a business portfolio here if you haven’t already.<br />

<img src="https://mintcdn.com/pads4/KAlGc65RuFmgxM8P/images/CTRLCenter/Credentials/Meta/MetaCreateAppDetails.png?fit=max&auto=format&n=KAlGc65RuFmgxM8P&q=85&s=971aa833e1c8844cd18f3ef132e5b5ad" alt="Meta Create App Details" title="Meta Create App Details" width="449" height="221" data-path="images/CTRLCenter/Credentials/Meta/MetaCreateAppDetails.png" />

### Step 7: Access the App Dashboard

Once your app is created, you will be redirected to the app's **Dashboard**.

Add the product **Facebook Login for Business** by clicking the **Set Up** button on its tile.

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/meta/setup-button.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=102c06300939d93f3cd9ad1e8de1b00e" data-path="images/ctrl-centre/credentials/meta/setup-button.png" />

### Step 8: Configure Redirect URI

Navigate to **Settings** under **Facebook Login for Business**.

In the field **Valid OAuth Redirect URIs**, enter the following:

```text theme={null}
https://<host>:<port>/credentials/generic/authorize/callback
```

<img height="200" src="https://mintcdn.com/pads4/i2g8nj0w2vU_RF-6/images/ctrl-centre/credentials/meta/redirect.png?fit=max&auto=format&n=i2g8nj0w2vU_RF-6&q=85&s=cbe10e4381029e47e78427c9e5553f49" data-path="images/ctrl-centre/credentials/meta/redirect.png" />

* **Host**: DNS name or IP address of your PADS4 Ctrl Center
* **Port**: (Optional) Include if your PADS4 Ctrl Center is not using default HTTP/HTTPS ports
