> For the complete documentation index, see [llms.txt](https://docs.edgetag.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgetag.io/channels/meta/onboarding.md).

# Onboarding

### Video Guide

{% embed url="<https://www.loom.com/share/9c48715d7e8e432e833d6b19e47a6ed8>" %}

### Add Channel

To add a channel, begin by entering the channel's name. We recommend choosing a name that clearly describes the dataset you are adding. This will assist with debugging if any issues arise.

<figure><img src="/files/a9hhTQ7pThXlaSHI9zAa" alt=""><figcaption></figcaption></figure>

### Mandatory Fields

The following fields are mandatory to send events to `Meta`

* Pixel Access Token
* Dataset ID
* Ad Account ID

<figure><img src="/files/6yvAeap0q6QSzcE7Kb7Z" alt=""><figcaption></figcaption></figure>

### Pixel Access Token

To generate a Pixel Access Token,

* Navigate to your [Events Manager](https://business.facebook.com/events_manager2/list/)
* Select the desired `Dataset ID`
* Open the `Settings` tab
* Scroll down to the `Conversions API` section
* Click the `Generate access token` button

<figure><img src="/files/8J80jurwFrNU536ngURE" alt="Generate Access Token"><figcaption><p>Generate Pixel Access Token</p></figcaption></figure>

* Copy the generated `Access Token`
* Ensure that you keep this token secure, as it is required to authenticate events sent to Meta.

### Dataset ID & Ad Account ID

To get the Dataset ID & Ad Account ID,

* Navigate to your [Events Manager](https://business.facebook.com/events_manager2/list/)
* Select the desired `Dataset ID`
* Open the `Settings` tab
* Copy the `Dataset ID` and `Ad Account ID`

<figure><img src="/files/goDoQbrrSuTxLQFjQNiF" alt=""><figcaption><p>Dataset ID &#x26; Ad Account ID</p></figcaption></figure>

Add `Pixel Access Token`, `Dataset ID` & `Ad Account ID` in the form.

<figure><img src="/files/9zZp7vrYis88Wg2cuS2D" alt=""><figcaption><p>Form with mandatory fields</p></figcaption></figure>

Click **Save & Deploy.**

Congratulations :tada:, the basic setup is now complete.&#x20;

Let's proceed to the next section to explore additional configuration options.


---

# 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:

```
GET https://docs.edgetag.io/channels/meta/onboarding.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
