Skip to main content

Organize objects with groups

By the end of this tutorial you will have created a group, added two objects to it, and queried the result end-to-end. You'll leave with a concrete mental model of how groups work and where to go next.

This tutorial uses BuiltinTag objects so you can follow along without any special schema. The same steps apply to any object type.

What you will need​

  • A running Infrahub instance (local or remote).
  • Permission to create and modify groups.
  • Two tags to add as members. If you don't have tags yet, create two called red and blue before starting.

Step 1 — Create a new group​

You'll create a Standard group named TagConfigGroup. A Standard group is the general-purpose type you create and manage yourself.

Navigate to Object Management → Groups in the left menu. Click New Group and provide:

  • Name: TagConfigGroup
  • An optional description.
  • Group type: CoreStandardGroup.

New Group

Step 2 — Add two tags as members​

Attach your red and blue tags to the group.

  1. Open TagConfigGroup from the Groups list.
  2. Go to the Members tab.
  3. Click Add Members and select red and blue.
  4. Click Save.

Adding members in group

Step 3 — Verify​

Confirm both tags are now in the group.

Open TagConfigGroup and check the Members tab. Both red and blue should appear.

Group members

What you learned​

  • Groups are first-class objects in the graph with their own attributes and relationships.
  • A Standard group is manually managed — you decide what goes in it.
  • Membership is a relationship, so changes flow through the graph and can be queried from either side.

Where to next​