# Pterodactyl Setup Guide

### Step 1: Upload Your Bot Files

1. ZIP your bot files on your local machine.
2. In your Pterodactyl server's **File Manager (File Tab)**, upload the ZIP file.
3. Once the upload completes, right-click the ZIP file (Or ...) and select **Unarchive**.
4. Confirm that all your bot files & folders (e.g., `package.json`, `config`, etc.) are in the root directory.

<figure><img src="https://793846788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH32pcDz3SxP8UThFTci3%2Fuploads%2FQu7BunoaNJeQH4xtUgIu%2F%7B50C24FE6-4016-4193-8539-67AF9735DC69%7D.png?alt=media&#x26;token=14c6d80a-88bb-4b7c-aa65-430e296f58f4" alt=""><figcaption></figcaption></figure>

### Step 2: Configuration

1. Go to the settings / startup TAB and select Node js 21

<figure><img src="https://793846788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH32pcDz3SxP8UThFTci3%2Fuploads%2FHN4iLBufvWXix2FoaY6o%2Fimage.png?alt=media&#x26;token=19cc6451-fa23-4303-a633-05ee020f3b33" alt=""><figcaption></figcaption></figure>

### Step 2: Starting the bot

1. Go to the **Console** tab and start the bot
2. This can take up to 5 minutes while it installs the required dependencies

{% hint style="success" %} <mark style="color:green;">**Note:**</mark> You may need to run `npm install` & `npm start`, it depends on the host
{% endhint %}
