# Quickstart

{% embed url="<https://www.youtube.com/watch?t=91s&v=objpAGzFlgM>" fullWidth="true" %}
SunLicense Server Setup Guide
{% endembed %}

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

{% embed url="<https://builtbybit.com/resources/sunlicense-license-management-system.58359/>" fullWidth="false" %}
SunLicense resource page
{% endembed %}

{% stepper %}
{% step %}
**Visit the SunLicense Resource Page**

Navigate to the SunLicense resource page to purchase your license.
{% endstep %}

{% step %}
**Choose a Payment Method**

You can use the following secure payment options:

* **PayPal**
* **Credit/Debit Card**
* **Cryptocurrency**\
  \&#xNAN;*(All payments are processed securely through Tebex.)*
  {% endstep %}

{% step %}
**Download the `server.jar` File**

Once your purchase is complete, you will gain access to download the `server.jar` file
{% endstep %}
{% endstepper %}

{% hint style="success" %}
While purchasing the license, you can also choose to purchase the **Managed Hosting** addo&#x6E;**.**\
With this add-on:

* We will manage and host your server.
* You won’t need to handle anything beyond this step.
  {% endhint %}

### Step 2: Join Our Discord Server to Request a License Key

{% embed url="<https://dsc.gg/sundevs>" %}
Sundevs Support Discord Server
{% endembed %}

{% stepper %}
{% step %}
**Join the SunLicense Discord Server**

Use the following link to join our Discord server: Join Discord.
{% endstep %}

{% step %}
**Go to the License Channel**

Navigate to the **#premium** channel within the server.
{% endstep %}

{% step %}
**Request Your License Key**

* Click the **Request License** button in the embedded message.
* A developer will provide your license key shortly.
  {% endstep %}

{% step %}
**Save Your License Key**

Keep this license key safe, as you will need it later.
{% endstep %}
{% endstepper %}

### Step 3: Download SunLicenseEggShell (Generic Java Egg) and Import it to Pterodactyl Panel

{% file src="/files/UX9QJ2ithg58VVZx3dOj" %}
SunLinceseEggShell is a modified generic java egg that can be used to SunLicense on Pterodactyl Panel\
Generic Java Egg was created by [parkervcp](https://github.com/parkervcp).
{% endfile %}

{% stepper %}
{% step %}
**Download the SunLicenseEggShell**

Download the `SunLicenseEggShell (Generic Java Egg)` file from the above provided link
{% endstep %}

{% step %}
**Go to Your Pterodactyl Admin Dashboard**

Log in to your Pterodactyl admin panel.
{% endstep %}

{% step %}
**Navigate to Nests**

In the **Service Management** section, locate and select **Nests**.
{% endstep %}

{% step %}
**Import the Egg**

* Click the **Import Egg** button (green button).
* Upload the `SunLicenseEggShell` file you downloaded earlier.
  {% endstep %}
  {% endstepper %}

<figure><img src="/files/cYSLiOFEKSA6XOCHZyAA" alt=""><figcaption></figcaption></figure>

### Step 4: Create and Start a Server with SunLicenseEggShell

{% stepper %}
{% step %}
**Go to the Servers Section**

Navigate to the **Servers** section in your Pterodactyl panel.
{% endstep %}

{% step %}
**Click the Create Server Button**

Select the **Create Server** button to start setting up a new server.
{% endstep %}

{% step %}
**Configure Server Resources**

SunLicense typically requires the following minimum resources:

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

Adjust these settings based on your requirements.
{% endstep %}

{% step %}
**Select the Egg File**

Choose the **Egg File** that you uploaded in the previous step.
{% endstep %}

{% step %}
**Upload `server.jar` to newly created server**

Goto file tab of newly created server and upload server.jar
{% endstep %}

{% step %}
**Create  `license.txt`**

* Create file called `license.txt` next to the `server.jar`&#x20;
* Open `license.txt` and paste license key that you obtained from step 02
* Save the license key and start the server
  {% endstep %}
  {% endstepper %}

<figure><img src="/files/CGcUOicWwTfJcInuEZEx" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
On the first start, the SunLicense server will automatically download the required dependencies.

* This process may take several minutes.
* During this time, a folder named `.m2` will be created.
* Please wait until the process is complete.
  {% endhint %}

### Step 5: Access the SunLicense Dashboard

{% stepper %}
{% step %}
**Visit Your Server Address**

Open your browser and navigate to:\
`http://{serverip}:{port}`\
\&#xNAN;*(Replace `{serverip}` and `{port}` with your server's actual IP address and port number.)*
{% endstep %}

{% step %}
**Log In to the Dashboard**

Use the following default credentials to log in:

* **Username**: `admin`
* **Password**: `admin`
  {% endstep %}

{% step %}
**Update Your Credentials**

After logging in, navigate to the **Settings** page to change the default credentials for security purposes.
{% endstep %}
{% endstepper %}

## Congratulations 🎉✨

You have successfully set up the SunLicense server.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sunlicense.hapangama.com/getting-started/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
