> For the complete documentation index, see [llms.txt](https://playerservers.thearcadia.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://playerservers.thearcadia.xyz/overview/pterodactyl-configuration/how-to-create-tokens.md).

# How to create tokens

## Introduction

Application and Client tokens are essential in the way PlayerServers communicates with your panel and thus need to be correctly set with appropriate privileges.

## How to create Application Token

In order to create an application token, please navigate to the Pterodactyl admin interface, and select "Application API"

<figure><img src="/files/TFpMvFMk1X0QJjWf5erH" alt=""><figcaption><p>Application API interface</p></figcaption></figure>

Afterwards, click on the blue Create New button on the top right and make sure to fill the fields just like on the image below.

<figure><img src="/files/mWG3ncWRv7QfzL6m407R" alt=""><figcaption><p>Application API - required permissions</p></figcaption></figure>

As that's done, you'll receive your application token which you need to put in your `config.yml`.

## How to create Client Token

In order to create an application token, please navigate to the Pterodactyl admin interface and click on your profile icon on the top right.

<figure><img src="/files/7HaLvCOMwcQVPcHSIcN2" alt=""><figcaption><p>Click on profile icon</p></figcaption></figure>

After that, navigate to the API Credentials tab.

<figure><img src="/files/KM1HSitD5WoYMN9bdula" alt=""><figcaption><p>API Credentials</p></figcaption></figure>

From here, create a new API key. Name it whatever you want and click create. Optionally, add the IP address of your BungeeCord instance to prevent unauthorised access to your API key.

From there, proceed by putting the newly generated API key to your `config.yml` file.
