How do I get a Klei server token for my Don't Starve Together server?
Every Don't Starve Together dedicated server signs in to Klei with a server token from the owner's Klei account. The token is free and takes about two minutes to make. Without a valid one your server starts, but Klei does not list it and players cannot join.
To get one, sign in at accounts.klei.com with the account you play Don't Starve Together on. Open Games, then Don't Starve Together, then Add New Server. Give the server a name and generate the token. Copy the whole token: it is one long line that starts with pds-g^.
If you are starting a free trial, paste the token into the Klei server token box when you create the trial. Your server comes up with it already in place.
On a paid server, open the Startup page, find Server Token, replace the placeholder text with your token and restart. The server reads the token every time it starts, so a restart is all it takes and there is no need to reinstall.
If the server still does not appear in Browse Games, check that you copied the whole token with no spaces or line breaks before or after it, and that the server entry still exists on your Klei account. A token you delete or regenerate on the Klei site stops working, so paste the new one into Server Token and restart. Treat the token like a password and only paste it into your own server.
Want to try this on a real server?
Everything described here is available on the trial too, on the same hardware and the same panel as the paid plans. Try it free for 48 hours, no credit card required.
Didn't fix it? Ask in Discord.
Ask in our Discord - we help with hosting questions whether or not you host with us.
Related articles
- How do I set up and join my Don't Starve Together server?
Game Setup Guides
- How do I configure server startup variables?
Panel Features