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

# Tebex

Go to **Project Settings > Integrations** to find the Tebex integration. Click **Enable** to open the setup page.

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FNsrzx93BTjlUh7eq3KEJ%2Fimage.png?alt=media&amp;token=39c65532-a3eb-4cef-8853-830e3ee936a8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FQeTuFkXNVUvJXrOAjqrT%2Fimage.png?alt=media&amp;token=9f90451b-f5e3-4d82-a154-a6d1e71dab05" alt=""><figcaption></figcaption></figure>

Click **Open Tebex Webhook Settings** to open your tebex dashboard in a new tab.

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FIpuP3Zp7lv6NjI6C80V7%2Fimage.png?alt=media&amp;token=d7d06830-ed11-4d86-ac86-5ec5d6bff7d9" alt=""><figcaption></figcaption></figure>

After logging in to your Tebex account, you should see the webhook settings page. Copy the **Secret** shown on this page and paste it into the input field over at PlayerAtlas.

Click **Save Secret**. Once saved, the setup page will expand to reveal additional configuration details.

{% hint style="info" %}
This secret allows PlayerAtlas to verify that incoming payment data is sent directly from Tebex and prevents third-party tampering.
{% endhint %}

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FIyH18AhWWyiX1UOpAnBg%2Fimage.png?alt=media&amp;token=2feb960a-5178-476d-932e-39e7ea914898" alt=""><figcaption></figcaption></figure>

Next, copy the **Webhook Endpoint URL** displayed on the integration page. Then return to the Tebex dashboard to create a new webhook.

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FUew0CHrjBvPf1kBgb7mb%2Fimage.png?alt=media&amp;token=04380755-892d-4ff3-8532-42e18ae712f1" alt=""><figcaption></figcaption></figure>

In the Tebex webhook popup, paste the **Webhook Endpoint URL** and enable the **Payment Completed** event.

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2F68AWaXNOKX1Kn1S1Rhp2%2Fimage.png?alt=media&amp;token=821d4de2-4696-4dbd-9cef-19de3fc68d1d" alt="" width="563"><figcaption></figcaption></figure>

After clicking **Add**, Tebex will send a test webhook to verify the connection.

If everything is configured correctly, the webhook will appear as **Validated** on the integration page.

<figure><img src="https://2177321534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1C3MQBcwKiYeSoS4Hi5P%2Fuploads%2FalILuAoXhvYNJ8eAZIW9%2Fimage.png?alt=media&amp;token=ff3fd130-95a4-43fc-afac-e653be837e27" alt=""><figcaption></figcaption></figure>

You're all set! Payments from Tebex will now be tracked automatically in your dashboard.
