> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Add a Password to a Don't Starve Together Server

Adding a password to your Don’t Starve Together server helps keep your world private and ensures that only invited players can join. This is especially useful for playing with friends or managing a controlled community.

## Adding a Server Password

1. Open the [Apollo Panel](https://apollopanel.com), and ensure that your server is offline.

2. In the Files tab, open the "DoNotStarveTogether/config/server/cluster.ini" file.

   ![](https://images.surferseo.art/e19196a3-2d74-4fc4-8ace-946489a65c58.png)

3. Set the password that you want to use on the server under the "cluster_password" setting. 

   ![](https://images.surferseo.art/e070035f-0f2c-4f24-9c1e-5e5c99957ae0.png)

4. Once you have set a password, click on the "Save Content" button to save the current config changes.

   ![](https://images.surferseo.art/a9f641b6-a1b5-491e-9fe8-6d1acf011628.png)

5. Start your server, and it should now be password-protected.

   ![](https://images.surferseo.art/7bf2eee2-ce7e-47c9-b012-b162377c99c9.png)