# How To Set a Password on Your Don't Starve Together Server (/docs/dont-starve-together/set-a-password)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Setting a password on your Don't Starve Together server restricts access to only players who know the password.

<Steps>
  <Step>
    Open the Startup Page [#open-the-startup-page]

    Log in to the [XGamingServer Panel](https://panel.xgamingserver.com) and select your Don't Starve Together server. In the sidebar, click **Startup**.
  </Step>

  <Step>
    Set the Server Password [#set-the-server-password]

    Find the **Server Password** or **Cluster Password** field and enter the password you want.
  </Step>

  <Step>
    Restart Your Server [#restart-your-server]

    Go to **Console** in the sidebar and restart your server.
  </Step>
</Steps>

Players will now be prompted to enter the password when they try to join from the server browser.

> 💡 **Tip:** You can also set the password in the `cluster.ini` file by editing the `cluster_password` value under the `[NETWORK]` section.

> 📝 **Note:** To remove the password and make the server public again, clear the password field in **Startup** and restart.
