# 💡How to Create a TikTok Pixel:🤔

**Step 1.** In your [TikTok Ads Manager](https://ads.tiktok.com/i18n/events_manager/home), Click on **Tools** **➞ Events**&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXejKyoInpwESSb2wA4v-PWltgWkKw2gAKU7kOy3ImV9PBC8ftiHymo1TtCZZ7EKX323uo7Ku3FkkMW_QFXr0GQv63bDoj-82Jpmt-SP9tZISWgtwf7VyyATnrEMEsuhlJKt1Ml_ik-6RUsqBABHpGSMVRl4?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

\
**Step 2.** Click on **Connect Data Source**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfccwWhAVjy7ZTPlfH5NDzblGM9n_Vsh47PgYsgR-hqoiri51prfRqEhP5C-89GBrAQ-6N8RVKf7r_2x1qi6oEbROOMUXf0GXbKM5Bn14QeZnX_I8ETyoiasErFXn4DGYTdyG7gBTnrEbYztnAEddrVxLWj?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

<br>

**Step 3.** Create a **pixel**, ensuring you select **“Web”** as the platform. Complete the remaining steps based on your specific needs, and give the pixel a clear, **descriptive name.**<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcbFM-7GAc2GGhPpfRYNJiex8uIaTqH6okWS3QWpwsFX0rpOkvbmm4-p8oi1NqnQ3Iik1ZvBaighq6W36VUUgGQ8BxqonQyiyjsLTzTi34WsH5BjdeB_gjQjYfCKeHLMLVZ8dxctD5rHEonp1zeuhKKmj6C?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

**Step 4.** Open **Pixel** and Copy **ID** and pass it to the app as Pixel ID.\ <br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf6GZfrRtjk6mDH0O3bH7QbdEXulruk8OJwlPu03Fpu_EdKO9wcj8qUkkNDv_TswSDXZF2QxyYxJSjKFziM_HpnEgYIgaoM7dMOyL9i_JOICk1N6xn7z4lzq-cK_2cQAO4fY7_ZbT9Gg9AaxsTiqN58j8eH?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

Now click on **Settings**. Scroll down to find the **Access Token Generation** section, click **Generate Access Token** and copy it.<br>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfGGRT3rf9MySfaCSMQEkLElxtKlnK-TJE3TvfsMvCj-Q6Wk8-W4-feclt23K2C26OVUZ447bHlPfEmOO5UCgwbhS-95CR2g1L1zUEoJisRVuZhWG9yqAAhxfG68VJfJPdI6BzaYN7ERqeNF1abOsEzXQyk?key=mXtMobW3ct_ZLMsankctKQ" alt=""><figcaption></figcaption></figure>

And your TikTok pixel is created successfully🤩


---

# 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://infinite-pixel-tracking.gitbook.io/infinite-pixel-tracking/tiktok-pixel/how-to-create-a-tiktok-pixel.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.
