# How to find the Facebook CAPI Token

## Step 1: Access Facebook Events Manager

Access [Facebook Events Managers](https://business.facebook.com/events_manager2) and select Data sources from the left navigation

<figure><img src="/files/0Fx49T8MuCQC6v3NgKU2" alt=""><figcaption></figcaption></figure>

## Step 2: Select the Dataset you are using and go to your Settings tab

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

## Step 3: Generate Access token

Then scroll down to the Conversion API section. You should see the "Generate Access Token" link

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

Once you click Generate Access Token you should see this:

<figure><img src="/files/5XeV4J21DndS1UiR3h86" alt=""><figcaption></figcaption></figure>

Copy the Generated Token.

## Step 4: Update Your Token in the TagFly App

Navigate to your TagFly > Tracking > **Facebook Destination**

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

Paste your Conversion API Token and Save!


---

# Agent Instructions: 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.tagfly.io/facebook/how-to-find-the-facebook-capi-token.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.
