How To Generate a Cluster Token for Don't Starve Together
Learn how to generate a cluster token required to run your Don't Starve Together dedicated server.
A cluster token is required for your Don't Starve Together server to run. Without it, the server will not start. The token links your server to your Klei account. Here is how to generate one.
Log in to Your Klei Account
Go to the Klei Account page and log in. If you do not have a Klei account, create one and link it to your Steam account.
Navigate to the Game Servers Section
Once logged in, click on Games in the navigation menu, then select Don't Starve Together from your game list. Click on the Game Servers tab.
Generate a New Token
Click Add New Server. Give it a friendly name (e.g., "My XGamingServer") so you can identify it later. Click Generate to create the token.
Copy the Token
Copy the generated token string. It will look something like pds-g^KU_xxxxxxxx^xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Add the Token to Your Server
Log in to the XGamingServer Panel and select your Don't Starve Together server. In the sidebar, click Startup. Find the Cluster Token field and paste your token.
Restart Your Server
Go to Console and restart your server. It should now start successfully with the token.
⚠️ Warning: Do not share your cluster token with anyone. It is linked to your Klei account and could be used to impersonate your server.
📝 Note: If you regenerate or delete the token on the Klei website, your server will stop working until you update it with a new token.
How is this guide?