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

# Facebook Ads OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Facebook Ads in StackOne to allow users to link their accounts.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Create a Meta app

Meta issues the App ID and App Secret when you create an app in the Meta developer portal.

**1. Create the app**

Open the [Meta app creation page](https://developers.facebook.com/apps/creation/) and enter your app's name and contact email address, then click **Next**.

<ul>
  <li>Select one or more use cases, then click **Next**.</li>
  <li>Select a business portfolio option or create one, then click **Next**.</li>
  <li>Review the requirements and click **Next**.</li>
  <li>Review all details and click **Go to dashboard**.</li>
</ul>

**2. Register the redirect URL**

Under **Products** in the App Dashboard's left side navigation menu, click **Facebook Login**, then click **Settings**.

<ul>
  <li>Add the **Callback URL** from your Connector Profile to **Valid OAuth redirect URIs** in the **Client OAuth Settings** section.</li>
</ul>

**3. Copy the app credentials**

Your app's **App ID** and **App secret** are shown in the App Dashboard.

<ul>
  <li>**App ID** — the public identifier of your Meta app. Paste it into the **App ID** field in the StackOne Connector profile.</li>
  <li>**App Secret** — the secret half of the app credentials. Paste it into the **App Secret** field in the StackOne Connector profile.</li>
  <li>Keep the app secret secure and never share it publicly.</li>
</ul>

**4. Configure permissions**

Enables actions: Create Ad, Create Ad Creative, Create Ad Set, Create Business System User, Create Campaign, Create Custom Audience, Create Lead Gen Form, Create Pixel, Delete Ad, Delete Ad Creative, Delete Ad Set, Delete Campaign, Delete Custom Audience, Get Ad, Get Ad Account, Get Ad Account Insights, Get Ad Creative, Get Ad Insights, Get Ad Set, Get Ad Set Insights, Get Business, Get Campaign, Get Campaign Insights, Get Custom Audience, Get Lead, Get Lead Gen Form, Get Me, Get Pixel, Get User, List Ad Accounts, List Ad Creatives, List Ad Sets By Account, List Ad Sets By Campaign, List Ads By Account, List Ads By Ad Set, List Business Client Ad Accounts, List Business Owned Ad Accounts, List Business System Users, List Campaigns, List Custom Audiences, List Lead Gen Forms, List Leads By Ad, List Leads By Form, List My Accounts, List Pixels, List System User Assigned Users, List User Accounts, List User Businesses, Update Ad, Update Ad Account, Update Ad Set, Update Campaign, Update Custom Audience

Grant the app the permissions the integration needs. Permissions are requested from the person connecting the account during the login flow.

<ul>
  <li>
    public\_profile
  </li>

  <li>
    email
  </li>

  <li>
    ads\_read
  </li>

  <li>
    ads\_management
  </li>

  <li>
    business\_management
  </li>

  <li>
    leads\_retrieval
  </li>

  <li>
    pages\_manage\_ads
  </li>

  <li>
    pages\_show\_list
  </li>

  <li>
    pages\_read\_engagement
  </li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/facebookads/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.