> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add a Server Token on a Don't Starve Together Server

A server token is required to run a Don’t Starve Together server. This token links your server to your account and allows it to appear online and function properly. Without a valid token, the server will not start correctly. While the token is typically added through the configuration file, this guide explains how to add a server token using the Apollo Panel for a simpler setup process.

## Generating a Server Token

1. Open the [Klei website](https://accounts.klei.com/account/game/servers?game=DontStarveTogether) and log in with your account under your desired platform.

   ![](https://images.surferseo.art/64109e14-ca65-4751-bd8e-8f06de70aaf7.png)

2. Enter a name for the Server Token and click "Add New Server" to proceed.

   ![](https://images.surferseo.art/ef00dadc-f6ef-4a39-b67f-feb69edcc656.png)

3. Copy the long text shown under the new server entry's expiration date, as it is the server token we will need in the next steps.

   ![](https://images.surferseo.art/6d1051e7-adb8-4ad4-978a-2807489352a5.png)

## Adding the Server Token Using the Apollo Panel

1. Open the [Apollo Panel](https://apollopanel.com), and ensure that your server is offline.

2. In the Startup Tab, paste the server token you got earlier on the Klei website.

   ![](https://images.surferseo.art/6f463b54-dfb9-4e69-b36e-1be437f8001f.png)

3. Start the server, and you should now be able to join your server through the in-game server browser.