# Config subentry

> A part of a config entry that the user adds and manages on its own, like one AI agent of an integration that connects to an AI service.

Source: https://contributors.home-assistant.io/glossary/config-subentry/

- In code: `ConfigSubentry`, `ConfigSubentryFlow`
- Also: subentry, subentries

Subentries let one config entry hold several things that share its connection or credentials. Each subentry has its own flow to add and change it.

## Related terms

- [Config entry](https://contributors.home-assistant.io/glossary/config-entry/): One set-up instance of an integration, like one Hue bridge, with the configuration Home Assistant stores for it.
- [Config flow](https://contributors.home-assistant.io/glossary/config-flow/): The steps in the UI that set up an integration and create a config entry.
