# Setting up your first mashtun

### Prerequisites

To able to setup a mashtun, you need a Brick connected to your brewery. If you did not already do that, head over [here](/getting-started/adding-your-first-brick.md).

### Creating a mashtun (fermenter, etc.)

The process is the same for pretty much every device. We'll use the mashtun as an example.&#x20;

1. Select "Equipment" in the side navigation.
2. Click the "Create device" button the respective card.
3. A dialog will apear, asking which type of device you want to create. Select "Mashtun / BIAB". If you want to know what's the logic behind it, check out [this page](/using-bricks/equipment.md).
4. A empty Mashtun / BIAB device will appear. Let's discuss what you see:
   * A title saying "Mashtun / BIAB". You can rename your device by simply clicking on it. This is handy if you have multiple mashtuns.
   * A outlined button saying "Control" (with an slider icon). You can change the PDI-controller settings here - or let the [automated calibration feature](/using-bricks/equipment/calibration.md) do the job for you (which is recommended).
   * A "Heating" section, displaying a "dropzone" denoted by something that looks like a open switch.
   * A "Circulation" section, displaying the same dropzone. We also need a relay to control our pump (BIAB) / stirrer (else) after all.
   * A "Temperature sensors" section, displaying a dropzone denoted by a thermoemeter icon.
5. We now want to assign the&#x20;
   1. the **relay** of our Brick to the **"heating" of our mashtun**
   2. the **temperature sensor** of our Brick to **our mashtun**
6. We do this - and that is the catch - by drag and dropping! This is shown in the image below.
7. After your done, dont forget to hit the **SAVE** button!
8. Aaand: you're done.

You can proceed by putting your mashtun to work, e.g. by [creating / importing a recipe](/getting-started/importing-recipes.md) and [starting a recipe](/getting-started/creating-a-new-recipe.md) or controlling the temperature in [manual mode](/using-bricks/the-manual-mode.md).

![](/files/-Mck8fTJSRL2qMLiB8Ti)

TODO


---

# 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://docs.bierbot.com/getting-started/setting-up-your-first-mashtun.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.
