# Creating a Config Screen

Call `ConfigBuilder.create()` to create a new config builder, from there you can **set the background**, **create new categories**, **disable smooth scrolling**, etc.

The title will be **automatically translated** to the language the user selects, make sure you localize the language in the language file.

{% hint style="success" %}
Parent Screen is the screen when the user clicks done or cancel, you should put the current screen as the parent screen.
{% endhint %}

```java
ConfigBuilder builder = ConfigBuilder.create()
        .setParentScreen(parent)
        .setTitle(new TranslatableText("title.examplemod.config"));
```

{% hint style="warning" %}
You have to create a new config screen builder **every single time** you open the config menu.
{% endhint %}


---

# 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://shedaniel.gitbook.io/cloth-config/using-cloth-config/creating-a-config-screen.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.
