> For the complete documentation index, see [llms.txt](https://absolet-development.gitbook.io/absolet-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://absolet-development.gitbook.io/absolet-documentation/readme/bot-installation-pterodactyl.md).

# Bot Installation (Pterodactyl)

### &#x20;Add files to the Pterodactyl Panel

```
-Summary-

1.Select server on main dashboard.
2.Go to 'Files'.
3.Click 'Upload' and select your file(s). (For multiple files and folders, upload a compressed archive)
4.Click '...' next to the uploaded archive and select 'Unarchive'.

```

### 1. Select server on main dashboard.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fe204NnGFguqtpGu1gYbl%2FCapture2.PNG?alt=media&amp;token=20020dd4-6b70-40d1-918e-7a8046ce7d10" alt=""><figcaption></figcaption></figure>

### 2. Go to 'Files'.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2FJx456FLdbW30y15oT8X1%2F2.PNG?alt=media&amp;token=9a48cbb2-c281-47fa-83cc-4d873a97b20c" alt=""><figcaption></figcaption></figure>

### 3. Click on the 'Upload' button and choose the file(s) you want to upload.

If you need to upload multiple files including folders, compress them into a single archive file first.\
\
For example, if you're uploading an AbsoletBot, ensure that the archive is structured so that when extracted, it directly reveals the bot's configuration files (config folder, src folder, package.json, etc.)

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2FtEBiMbBJZay0vrRm6ZR7%2F3.PNG?alt=media&amp;token=eddf29a5-4d82-45dd-b2b2-a29d8d73b338" alt=""><figcaption></figcaption></figure>

### 4.  After uploading the archive file, click on the '...' next to it and select 'Unarchive'.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fu1lULTzVxmxjNTTp9AeE%2F7.PNG?alt=media&amp;token=5de63ba2-07b5-4d9b-925a-19365a2b88d3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2FHDLNAOstroSEAgva1PoC%2F4.PNG?alt=media&amp;token=4830e86a-50be-49e5-82ae-6cafcf795e71" alt=""><figcaption></figcaption></figure>

that's it! Your files are now uploaded and ready to use.

## 🖥 Docker Image Configuration

```
You must first set 'Docker Image Configuration' to avoid problems 
when installing the bot.

-Summary-
1. Select server on main dashboard.
2. Go to 'Startup'.
3. Change 'Docker Image' to 'NodeJS v20'.
```

### 1. Select server on main dashboard.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fe204NnGFguqtpGu1gYbl%2FCapture2.PNG?alt=media&amp;token=20020dd4-6b70-40d1-918e-7a8046ce7d10" alt=""><figcaption></figcaption></figure>

### 2. Go to 'Startup'.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2F02edgG4iiqY0Zww57bQp%2FCapture3.PNG?alt=media&amp;token=58d2b230-dbd5-4470-a093-820fbc96e992" alt=""><figcaption></figcaption></figure>

### 3. Change 'Docker Image' to 'NodeJS v20'.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fz9cFMYJ3zCrUO8Y8ctyN%2F5.PNG?alt=media&amp;token=82f4e222-32ed-4117-a7a8-b3549f6921d6" alt=""><figcaption></figcaption></figure>

## :robot: How to start bot

```
Summary:
1. Select server on main dashboard.
2. Select 'Startup'.
3. Type 'npm install' in 'Startup command 1' field, 'npm run start' in 'Startup command 2. 

That's All!
```

### 1. Select server on Main dashboard.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2Fe204NnGFguqtpGu1gYbl%2FCapture2.PNG?alt=media&amp;token=20020dd4-6b70-40d1-918e-7a8046ce7d10" alt=""><figcaption></figcaption></figure>

### 2. Select 'Startup'.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2F02edgG4iiqY0Zww57bQp%2FCapture3.PNG?alt=media&amp;token=58d2b230-dbd5-4470-a093-820fbc96e992" alt=""><figcaption></figcaption></figure>

### 3. Type 'npm install' in 'Startup command 1' field, 'npm run start' in 'Startup command 2.&#x20;

By default, startup command 1 and startup command 2 contain these specific commands.

However, if for any reason these fields are empty, you should fill them with the corresponding commands.

<figure><img src="https://1344056451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsiw3eFWeZ37y1YVM70Zf%2Fuploads%2FofkZuXIriFbyFb0NXEqT%2F1.PNG?alt=media&amp;token=6642129b-41a7-4e41-80b0-fcb38b50fa9f" alt=""><figcaption></figcaption></figure>

That's all !
