> ## Documentation Index
> Fetch the complete documentation index at: https://help.sundevs.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Purchase SunBot, request a license key, import the SunLicenseEggShell egg into Pterodactyl, create a server with license.txt, and log in to the dashboard.

## Step 1: Purchase and download `server.jar`

**1. Visit the SunBot resource page**

Go to the [SunBot resource page](https://builtbybit.com/resources/sunbot-all-in-one-discord-bot.106308) to purchase your license.

**2. Choose a payment method**

You can pay with **PayPal**, **Credit/Debit Card** or **Cryptocurrency**. All payments are processed securely through Tebex.

**3. Download the server.jar file**

Once your purchase is complete, you can download the `server.jar` file.

> [!TIP]
>
> While purchasing the license, you can also add **Managed Hosting**. With this add-on, we manage and host your server, and you don't need to do anything beyond this step. See [SunBot Managed Hosting](https://go.sundevs.net/sb-mh).

## Step 2: Request a license key

Join our [Discord server](https://go.sundevs.net/discord), go to the **#premium** channel and click **Request License**. A developer will send you your license key shortly. See [Get your license key](https://help.sundevs.net/license-key.md).

## Step 3: Import SunLicenseEggShell to Pterodactyl

> [card] [Download SunLicenseEggShell (egg-generic-java.json)](https://help.sundevs.net/files/sunlicense/egg-generic-java.json)
>
> A modified generic Java egg for running SunDevs products on Pterodactyl Panel. The Generic Java Egg was created by [parkervcp](https://github.com/parkervcp).

**1. Download the SunLicenseEggShell**

Download the egg file from the link above.

**2. Go to your Pterodactyl admin dashboard**

Log in to your Pterodactyl admin panel.

**3. Navigate to Nests**

In the **Service Management** section, select **Nests**.

**4. Import the egg**

Click the green **Import Egg** button and upload the egg file you downloaded.

![Importing the egg in Pterodactyl](https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunlicense/quickstart-import-egg.png?fit=max\&auto=format\&n=elgk5NHmyF31vYbt\&q=85\&s=22a6ed20c1a75a3a53eec04a24a495fe)

## Step 4: Create and start a server

**1. Go to the Servers section**

Navigate to the **Servers** section in your Pterodactyl panel and click **Create Server**.

**2. Configure server resources**

SunBot typically requires these minimum resources:

* **CPU Cores**: 1 Core
* **RAM**: 1 GB
* **Storage**: 2 GB

Adjust these settings based on your requirements.

**3. Select the egg**

Choose the egg you imported in the previous step.

**4. Upload server.jar**

Go to the **Files** tab of the new server and upload `server.jar`.

**5. Create license.txt**

* Create a file called `license.txt` next to `server.jar`.
* Paste the license key you received in Step 2.
* Save the file and start the server.

![server.jar and license.txt in the server files](https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunlicense/quickstart-server-files.png?fit=max\&auto=format\&n=elgk5NHmyF31vYbt\&q=85\&s=68fdcd27c5e7ee65987f81021ba55985)

> [!NOTE]
>
> On the first start, the SunBot server automatically downloads the required dependencies. This can take several minutes, and a folder named `.m2` will be created. Wait until the process is complete.

## Step 5: Access the SunBot dashboard

**1. Visit your server address**

Open `http://{serverip}:{port}` in your browser, replacing `{serverip}` and `{port}` with your server's IP address and port.

**2. Log in**

Use the default credentials:

* **Username**: `admin`
* **Password**: `admin`

**3. Update your credentials**

Go to the **Settings** page and change the default credentials.

## Congratulations 🎉

You have successfully set up the SunBot server. To connect it to Discord, you'll need a bot token. See [Create a Discord bot token](https://help.sundevs.net/guides/discord-bot-token.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.