# Reading the Config

Do the following wherever you want to use your config. This must be called **after** [registration](https://shedaniel.gitbook.io/cloth-config/auto-config/registering-the-config).

```java
ModConfig config = AutoConfig.getConfigHolder(ModConfig.class).getConfig();
```
