How to Get Your Klei Server Token for Don't Starve Together
Don't Starve Together2 min readUpdated Nov 24, 2026
Your Don't Starve Together server needs a server token from Klei before it can start. You make the token on your Klei account and paste it into the game panel. This takes about two minutes.
Make the Token on Klei
- Open
accounts.klei.comin your browser and log in with your Klei account. - Open Games.
- Open Don't Starve Together.
- Open Game Servers.
- Type a name for your server under Add New Server and press Add New Server.
- Klei shows a long code. Copy the whole code. This is your token.
Paste the Token in the Panel
- Log in to your game panel and click your Don't Starve Together server.
- Open Game Settings in the left menu, under GAME SERVER.
- Go to the Klei Account section.
- Paste the token into Server Token.
- The panel saves the field by itself. A yellow bar at the top says Settings saved. Restart the server to apply your changes.
If the field is empty, the panel shows a warning: the server refuses to start without a token. The Console page also opens a box called Your Don't Starve Together server needs a Klei server token while the token is missing. You can paste the token there instead and press Save and start.
Start the Server
- Open Console in the left menu.
- Press Start, or Restart if the server is already running.
- Wait until the status next to the server name reads RUNNING.
- The server shows in the server browser a minute or two later.
Good to Know
- No token, no server. The server does not start without a token.
- Do not share your token. Treat it like a password. Anyone who has it can run a server in your name.
- One token per server. If you run more than one Don't Starve Together server, make a new token on Klei for each one.
- A new token is easy. If the token stops working, add a new server on the Klei page and paste the new code.
Finished
Your token is in place. Next, join your server from the game.
Did this solve your problem?
Still stuck?
Our support team actually knows the games we host. Open a ticket and we will figure it out together.
Open a ticket