# Configure Bastion

Bastion stores some configurations and credentials in its `settings.yaml` file. It refers to it before booting up and if you have not set it up yet or made some mistakes, Bastion will not be able to start. So, this is a very important step.

Make sure the `settings.yaml` file is present before you start Bastion. If it is not present in there, don't worry, you will find another file named `settings.example.yaml`. Make a copy of this file and remove the `.example` part from the file name. Now, you should have these files in the directory:

* `settings.yaml`
* `settings.example.yaml`

<figure><img src="/files/5yzs6j9Dt1wBX2sESvi5" alt=""><figcaption></figcaption></figure>

Now you can open and edit the `settings.yaml` file to add (or edit) the configurations and credentials for Bastion. After you have done that, save and close the file.


---

# 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://bastion.gitbook.io/docs/configure/configure-bastion.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.
