> For the complete documentation index, see [llms.txt](https://docs.iynxdev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iynxdev.com/addon-api/getting-started/internal-api/configs.md).

# Configs

This page explains how to work with the internal Config API.

## Config API

This is one of the simplest parts of the documentation. There is not much you need to do with configs directly, but here is how to import one:

```js
// Plugin configs
const config = this.heart.core.discord.core.config.manager.get('<config_name>').get();

// Common config
const commonConfig = this.heart.core.config.common.get();
```

This returns:

* `null` if the config could not be found.
* `config_json` if the config was found.
