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

# Meta

The Meta connector supports Meta products which have APIs with the root URL `https://graph.facebook.com`, these include:

* Facebook
* WhatsApp

## What's Supported

### Supported Actions

This connector supports:

* [Proxy Actions](/proxy-actions), using the base URL `https://graph.facebook.com`.

## Before You Get Started

To connect Meta with Ampersand, you will need [a Meta Developer Account](https://developers.facebook.com/).

Once your account is created, you'll need to create an app in Meta, configure the Ampersand redirect URI within the app, and obtain the following credentials from your app:

* App ID
* App Secret

You will then use these credentials to connect your application to Ampersand.

### Create a Meta Developer Account

Here's how you can sign up for a Meta Developer account:

* Go to the [Meta for Developers Sign Up page](https://developers.facebook.com/).
* Sign up using your Facebook account.

### Creating a Meta App

Follow the steps below to create a Meta app and add the Ampersand redirect URL.

1. Log in to your [Meta Developer Account](https://developers.facebook.com/).

2. Click **My Apps**.

3. Click the **Create App** button.

4. Select a business portfolio if you have one and click **Next**.

5. Select a use case. For OAuth application it's best to use the **Other** option.

6. Click **Next**.

7. Select an app type.

8. Click **Next**.

9. Enter the following app details:
   1. **App Name**: The name of your app.
   2. **Contact Email**: Select a contact email for the app.

10. Click **Create app**.

<img src="https://mintcdn.com/ampersand-24eb5c1a/CkzFg-K1u4gYx3ZD/images/provider-guides/e137ecd-meta1.gif?s=d9f28b6306e6f41936c55b253ce5630d" alt="Alt text" width="1440" height="668" data-path="images/provider-guides/e137ecd-meta1.gif" />

In the **Settings** > **Basic** section of your app's dashboard, you will find the **App ID** and **App Secret** keys. Note these keys, as they are essential for connecting your app to Ampersand.

The above steps are enough for the Facebook product. To add the WhatsApp product, follow the steps below.

11. Move to the **Add Product** under **Products** and choose the whatsApp product then configure it.

12. Scroll to the **Client OAuth Settings** section.

13. In the **Valid OAuth Redirect URIs** field, enter the exact Callback URI: [https://api.withampersand.com/callbacks/v1/oauth](https://api.withampersand.com/callbacks/v1/oauth).

<img src="https://mintcdn.com/ampersand-24eb5c1a/xjDXN-Vr1QbdihBU/images/provider-guides/whatsApp.gif?s=6c78464ea9cf06c5c826e3b2db8674c7" alt="Alt text" width="800" height="341" data-path="images/provider-guides/whatsApp.gif" />

## Add Your Meta App Info to Ampersand

1. Log in to your [Ampersand Dashboard](https://dashboard.withampersand.com).

2. Select the project where you want to create a Meta integration.

   <img src="https://mintcdn.com/ampersand-24eb5c1a/CkzFg-K1u4gYx3ZD/images/provider-guides/dd47b7a-Ampersand.png?fit=max&auto=format&n=CkzFg-K1u4gYx3ZD&q=85&s=d580aa00cc421fe14cfbab79c2e0812f" alt="Alt text" width="2244" height="442" data-path="images/provider-guides/dd47b7a-Ampersand.png" />

3. Select **Provider Apps**.

4. Select **Facebook** from the **Provider** list.

5. Enter the previously obtained **App ID** in the **Client ID** field and **App Secret** in the **Client Secret** field.

6. Enter the permissions (scopes) required for your application in **Permissions**. For details on permissions, refer to the [Meta Permissions](https://developers.facebook.com/docs/permissions) guide.

   <img src="https://mintcdn.com/ampersand-24eb5c1a/xjDXN-Vr1QbdihBU/images/provider-guides/meta2.gif?s=3cf417dec2557262e9ad24d18f900cce" alt="Alt text" width="742" height="596" data-path="images/provider-guides/meta2.gif" />

7. Click **Save Changes**.
