> ## 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

> Set up SunLinks on a Pterodactyl panel.

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

<Steps>
  <Step title="Visit the SunLinks resource page">
    Go to the [SunLinks resource page](https://builtbybit.com/resources/sunlinks-link-shortener.95052/) to purchase your license. See [Where to buy](/where-to-buy) for other marketplaces.
  </Step>

  <Step title="Choose a payment method">
    You can pay with **PayPal**, **Credit/Debit Card** or **Cryptocurrency**. All payments are processed securely through Tebex.
  </Step>

  <Step title="Download the server.jar file">
    Once your purchase is complete, you can download the `server.jar` file.
  </Step>
</Steps>

<Check>
  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.
</Check>

## 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](/license-key).

## Step 3: Import SunLicenseEggShell to Pterodactyl

<Card title="Download egg-generic-java.json" icon="download" href="/files/sunlinks/019dd77082b27005-egg-generic-java.json">
  SunLicenseEggShell (Generic Java Egg)
</Card>

<Steps>
  <Step title="Download the SunLicenseEggShell">
    Download the egg file from the link above.
  </Step>

  <Step title="Go to your Pterodactyl admin dashboard">
    Log in to your Pterodactyl admin panel.
  </Step>

  <Step title="Navigate to Nests">
    In the **Service Management** section, select **Nests**.
  </Step>

  <Step title="Import the egg">
    Click the green **Import Egg** button and upload the egg file.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunlicense/quickstart-import-egg.png?fit=max&auto=format&n=elgk5NHmyF31vYbt&q=85&s=22a6ed20c1a75a3a53eec04a24a495fe" alt="Importing the egg in Pterodactyl" width="1911" height="966" data-path="images/sunlicense/quickstart-import-egg.png" />
</Frame>

## Step 4: Create and start a server

<Steps>
  <Step title="Go to the Servers section">
    Navigate to the **Servers** section in your Pterodactyl panel and click **Create Server**.
  </Step>

  <Step title="Configure server resources">
    SunLinks typically requires these minimum resources:

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

    Adjust these settings based on your requirements.
  </Step>

  <Step title="Select the egg">
    Choose the egg you imported in the previous step.
  </Step>

  <Step title="Upload server.jar">
    Go to the **Files** tab of the new server and upload `server.jar`.
  </Step>

  <Step title="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.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/sundevs/elgk5NHmyF31vYbt/images/sunlicense/quickstart-server-files.png?fit=max&auto=format&n=elgk5NHmyF31vYbt&q=85&s=68fdcd27c5e7ee65987f81021ba55985" alt="server.jar and license.txt in the server files" width="1326" height="449" data-path="images/sunlicense/quickstart-server-files.png" />
</Frame>

<Info>
  On the first start, the SunLinks 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.
</Info>

## Step 5: Access the SunLinks dashboard

<Steps>
  <Step title="Visit your server address">
    Open `http://{serverip}:{port}` in your browser, replacing `{serverip}` and `{port}` with your server's IP address and port.
  </Step>

  <Step title="Log in">
    Use the default credentials:

    * **Username**: `admin`
    * **Password**: `admin`
  </Step>

  <Step title="Update your credentials">
    Go to the **Settings** page and change the default credentials.
  </Step>
</Steps>

## Congratulations 🎉

You have successfully set up the SunLinks server. Next, explore the [Dashboard](/sunlinks/dashboard/overview).


## Related topics

- [Quickstart](/sunpaste/quickstart.md)
- [SunLinks](/sunlinks/overview.md)
