# 02) Initial setup of Cosmos Server

Now that we've got it up and running, we should configure Cosmos. It's fairly straightforward.

### Setup Cosmos

1. Mark the checkbox for "Clean Install"
2. Select "**Next**"

<figure><img src="https://i.imgur.com/xGJA0Mx.png" alt="" width="375"><figcaption><p>Select "Start" after you've selected Clean Install</p></figcaption></figure>

3. The next page will check if you have Docker installed. It should show up like this:

<figure><img src="https://i.imgur.com/UJ03Azc.png" alt="" width="375"><figcaption></figcaption></figure>

4. Select "**Next**"
5. For the next part, it'll check if you have a `mariadb` server setup.\
   Whether or not you have one, I recommend just letting Cosmos take care of it.
6. Select `"Automatically create a secure database"` and press Connect:

<figure><img src="https://i.imgur.com/Vt7SXI9.gif" alt=""><figcaption><p>It works like magic</p></figcaption></figure>

7. It should now show, that the database is connected:

<figure><img src="https://i.imgur.com/FjIQFs0.png" alt="" width="375"><figcaption></figcaption></figure>

8. Select "**Next**" and let's get on with the domain setup.

### On to the next step!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.engels.zip/cosmos-server-setup/02-initial-setup-of-cosmos-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
