---
title: Inventories
description: Manage hosts, groups, variables, and synchronized inventory sources.
---

## Set up hosts and groups

1. Open **Inventories → New inventory**, choose the owner, and save it.
2. Open **Hosts** to add targets. Give each host a stable inventory name and set its connection address if different.
3. Use **Groups** to organize hosts and share variables. Select applicable machine credentials and gateways for your hosts.
4. Check the effective variables for a host or group before a launch. Review where a value came from when the same key appears at several levels.

## Sync from a source

Open the inventory's **Sources** tab. Add a project-backed source by selecting a project and a file, directory, or inventory plugin configuration from it. Select the execution environment and any credentials the plugin needs.

Development builds with built-in sources also offer NetBox, Foreman or Red Hat Satellite, Amazon EC2, and Checkmk. Choose the source type, select the matching credential, and enter the plugin options shown on the form.

Run the source's sync, open its job for output, and check the imported hosts and groups. You can combine manually managed entries with multiple sources. Source order affects how overlapping variables are resolved. Edit data managed by a source at its origin, or review the variable layers when you need an inventory override.

Use **Sync after project** to pick up project changes automatically or **Update on launch** to refresh before a job, subject to the source's cache setting. An inventory can also [schedule source syncs](/use/schedules).
