Back to all guides
Don't Starve Together Guidekleitokenclusterauthentication

How to Generate & Set Up a Klei Cluster Token

Creating cluster tokens on accounts.klei.com for public server browser listing.

# How to Generate & Set Up a Klei Cluster Token for Don't Starve Together All dedicated *Don't Starve Together* (DST) servers require a valid **Cluster Token** from Klei. Without this token, your server cannot authenticate with Klei servers and will not appear in the public game browser. --- ## 1. Generating Your Klei Cluster Token 1. Navigate to the official [Klei Account Portal](https://accounts.klei.com) and log in with your Steam account. 2. Click **Games** in the top navigation bar, then select **Don't Starve Together**. 3. Scroll to the **Game Servers** section at the bottom. 4. In the **Cluster Name** field, type a friendly nickname for your server (e.g. `MyLobbyMakerServer`). 5. Click **Add New Server**. 6. Copy the generated token string (starts with `pds-g^...`). > [!CAUTION] > Your cluster token acts as a secret key for your server. Keep it private and never share it publicly. --- ## 2. Adding the Token to Your Server Configuration 1. In your server management panel or file browser, open your cluster configuration directory (e.g. `DoNotStarveTogether/Cluster_1/`). 2. Create or edit a file named **`cluster_token.txt`**. 3. Paste your token string into `cluster_token.txt`. 4. Ensure there are **no leading or trailing spaces or extra blank lines** around the token. 5. Save the file and restart your Don't Starve Together server. --- ## 3. Verifying Server Authentication After restarting, check your server log for the following line: ```text [Shard] Account Authenticated! Server token validated. ``` Your server will now appear in the public DST server list!