> For the complete documentation index, see [llms.txt](https://docs.adpage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adpage.io/integrations-marketingtools/meta-ads/where-to-find-the-meta-pixel-id-and-the-meta-api-token.md).

# Where to find the Meta Pixel ID and the Meta API Token

How to retrieve the Meta Pixel ID and Meta API Token via the Meta Business Suite

To send server-side events to Meta Ads, you need two values: the Pixel ID of the pixel you want to send events to, and a Conversions API access token that authorises those events. You can find both in the Meta Events Manager.

### Finding your Meta Pixel ID

{% stepper %}
{% step %}

#### Open the Meta Business Suite

Go towards [business.facebook.com](https://business.facebook.com/) to open your Meta Business Suite.
{% endstep %}

{% step %}

#### Open the Meta Events Manager

Select the correct account, and open this account's Events Manager.

<figure><img src="https://1274044937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA65KwL1NwewlJbtCXsXd%2Fuploads%2FHUdhkIhGbGBgE09aN9Pi%2Fimage.png?alt=media&amp;token=b9f883c2-728b-4354-a104-95cebb37d80e" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Find the Pixel ID

In the Pixel overview, select the correct pixel. In this pixel go towards the Settings and find the Dataset ID.

<figure><img src="https://1274044937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA65KwL1NwewlJbtCXsXd%2Fuploads%2FYRJl2Mo72OvVinT3uKCX%2Fimage.png?alt=media&amp;token=1791f25a-b3a9-4a1c-bbfb-c07d9eaa725b" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### Finding your Meta API Token

{% stepper %}
{% step %}

#### Open the Meta Business Suite

Go towards [business.facebook.com](https://business.facebook.com/) to open your Meta Business Suite.
{% endstep %}

{% step %}

#### Open the Meta Events Manager

Select the correct account, and open this account's Events Manager.

<figure><img src="https://1274044937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA65KwL1NwewlJbtCXsXd%2Fuploads%2FrL6QdRaJw7q7KfM4Qy1p%2Fimage.png?alt=media&amp;token=28d80003-5b22-4206-8c6c-2922bf2c2a05" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Generate the API Token

In the Pixel overview, select the correct pixel. In this pixel go towards the Settings and find the Conversion API settings. Here you can generate an API Token by manually generating it.

<figure><img src="https://1274044937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FA65KwL1NwewlJbtCXsXd%2Fuploads%2FfFLz0tlWX5Im7zquMPnK%2Fimage.png?alt=media&amp;token=db6ba4f3-fcea-4c51-b3c5-2e5b4b2bc662" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.adpage.io/integrations-marketingtools/meta-ads/where-to-find-the-meta-pixel-id-and-the-meta-api-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
