Blog

Managing organizations in Nomatron, from first org to multi-team platform

Nov 26, 2026 By Nomatron

Learn how Nomatron organizations work: create one, set owners and members, add groups, scope clusters and integrations, and keep tenants tidy.

Blog hero for "Managing Organizations", with the eyebrow "Nomatron platform setup". A dashed scope-model panel shows a global layer above two example organizations, payments and platform.

One Nomatron server and one team is a lovely place to be. Everyone knows every app, every cluster and every approver. But what happens when the second team turns up, then the third, and they all want their own apps, their own approvers and their own corner of your Nomad estate, without tripping over each other?

That’s the job of organizations. In this post, you’ll learn what lives inside a Nomatron organization and what stays global, then build one properly: owner, members, team groups, role assignments, and the clusters, integrations and variables that belong to it. By the end, you’ll have a repeatable pattern for running many teams on one control plane, and a short checklist for keeping it tidy as people come and go.

Why organizations matter

An organization is the highest-level boundary in Nomatron. It’s the tenant that owns a set of applications, policies and infrastructure relationships. People take part as members: users are global objects that get invited into organizations, and one user can be a member of many. Most day-to-day work happens inside an organization, and most access decisions are scoped to one.

A typical organization contains:

  • members, meaning the users invited into it, and their role assignments there;
  • groups that name teams, for example as approvers;
  • apps and app jobs;
  • linked clusters and environments; and
  • operational history such as approvals, releases and audit events.

Organizations matter because they help keep teams and resources apart, they’re the scope for RBAC and group membership, and they define where integrations, approval rules and deployment workflows apply. A good way to think about it is a well-labeled building: the organization is the floor, each team works on its own floor, and the platform team looks after the lifts.

How scope works: global, organization and resource

Before creating anything, it’s worth understanding how Nomatron layers its screens and commands, because almost every “where did that setting go?” moment comes back to scope.

Nomatron works in three layers:

  • The global layer is for platform-wide administration: organizations, users and groups, roles and role assignments, global Nomad clusters and connectivity agents, licensing, and shared integrations.
  • The organization layer is for one tenant’s delivery work: apps, jobs, environments, variables, templates, organization-scoped Nomad clusters, deployment history and organization access.
  • The resource layer is a single object, such as one app, job, environment or cluster.

Diagram titled “How scope works: global, organization and resource”. Three stacked layers. Layer 1, Global, is platform-wide administration: organizations, users and groups, roles and role assignments, global Nomad clusters and connectivity agents, licensing, and shared integrations. Layer 2, Organization, is one tenant’s delivery work: apps and jobs, environments, variables, templates, organization-scoped Nomad clusters, deployment history, and organization access. Layer 3, Resource, is a single object: one app, one job, one environment or one cluster. A footnote asks: are you at global, organization or resource scope, and do you have permission at this level?

The three scope layers. Most “where did that setting go?” moments come back to which one you’re in.

When you’re not sure where you are, ask yourself three questions:

  1. Are you at global, organization or resource scope?
  2. Does this action affect one team or the whole platform?
  3. Do you have permission at this level?

Note: the UI reflects your current RBAC roles. If a section or button is missing, check your scope and your role before assuming something is broken. Two people can legitimately see different navigation on the same page.

Before you start

You need a few things in place:

  • A Nomatron v0.1.7 server.
  • An account with a global admin role, such as platform-admin. Use root for first-time setup only.
  • The nomatron CLI, signed in, with NOMATRON_ADDR set to your server address.
  • Two users: one to own the organization and one to join it as a team member. This post uses Morgan Smith (morgan.smith) as the owner and Jamie Lee (jamie.lee) as the member.
  • A Nomad cluster you can connect. It’s helpful for the later sections but not required.

Users, groups and roles get a post of their own: our IAM zero to pro post, next in this series, covers them in depth.

Step 1: Create your first organization

Every organization starts with a name and an owner. In the UI, go to Organizations, click New Organization, and fill in Organization Name, Owner Username and Description. Click Create.

New Organization form with Organization Name Example Org, Owner Username morgan.smith and a description

The New Organization form, filled in for Example Org.

You should see the Organization Created modal, showing the organization name, slug, organization ID, owner username, owner user ID and description. Click Go to Org to open the new organization. Inside, you should be able to navigate to Apps, Members, Groups, Nomad Clusters, Variables and Integrations.

Organization Created modal listing name, slug, organization ID, owner username, owner user ID and description, with Manage with Terraform and Go to Org buttons

The Organization Created modal shows the name, slug, organization ID and owner details.

The same thing from the CLI looks like this:

bash
nomatron organizations create \
  --name "Example Org" \
  --slug example-org \
  --owner-username morgan.smith \
  --quiet

This creates an organization named Example Org, with the slug example-org and Morgan Smith as the owner. The --quiet flag prints only the new organization’s ID, and if you leave out --slug, Nomatron generates one from the name.

Write that ID down. Role assignments inside the organization use the org:<organization_id> domain, and you’ll need it in step 4.

You can check the result with these two commands:

bash
nomatron organizations read --name example-org
nomatron organizations list

The first shows one organization’s details, and the second lists every organization you can see.

A word on naming, because the name and the slug aren’t the same thing. The name is the label people see. The slug is what the CLI and API work with: every command and API path, such as /api/v1/organizations/{orgSlug}/..., identifies an organization by its slug or its ID, never by its display name. That includes flags called --name, so in organizations read --name example-org above, example-org is the slug.

Choose both carefully, because neither can be changed after creation. nomatron organizations update changes only the description and metadata. Keep names short, stable and boring, such as the team or business unit that owns the apps, and keep slugs just as plain. A slug you’ll want to change next quarter is a slug you’ll regret.

Checkpoint: you have an organization with an owner. Next, let’s add the people who’ll work in it.

Step 2: Owners and members

Every organization has an owner, and ownership comes with a few things built in. The owner is automatically a member of the organization and holds the organization-admin role there. That role assignment is system-managed: a normal role removal can’t take it away, and it moves to the new owner when ownership is transferred. That’s why you’ll occasionally see an assignment you didn’t create by hand.

One thing ownership doesn’t give you is the power to delete the organization. That needs the global organizations delete permission, which organization-admin doesn’t include either.

Members are the users who’ve been added to the organization. Users themselves are global, so the same person can be a member of several organizations, with different roles in each. Morgan is already a member here as the owner, but everyone else needs adding. The commands below add Jamie as a member, list the members, and show how you’d remove someone:

Members page for Example Org listing morgan.smith as Owner and jamie.lee as Member

Example Org’s members: morgan.smith as the owner and jamie.lee as a member.

bash
nomatron organizations add-member --name example-org --username jamie.lee
nomatron organizations list-member --name example-org
nomatron organizations remove-member --name example-org --username jamie.lee

Membership matters more than it might look. Approval decisions must come from a user who is a member of the organization, and service accounts can’t approve at all. If someone can see a plan but can’t approve it, membership is one of the first things to check.

Owners move on too. Transfer ownership before the current owner leaves, not after:

bash
nomatron organizations transfer-owner --name example-org --new-owner-username <new_owner_username>

Only the current owner can do this, and the new owner must already be a member. The organization-admin assignment moves across with ownership, so the organization-admin assignment always stays with the current owner.

Checkpoint: the organization has an owner and members. Now let’s stop managing people one at a time.

Step 3: Groups model teams, not individuals

Groups belong to an organization and name its teams. In v0.1.7 a group doesn’t carry roles. You use groups where Nomatron asks for a team, such as the approver groups in an app’s approval policy. Create one group per team responsibility rather than one per person.

The commands below create the three groups most organizations need, then add Jamie to the developers group:

bash
nomatron groups create --organization example-org --name example-org-admins --owner-username morgan.smith
nomatron groups create --organization example-org --name release-managers --owner-username morgan.smith
nomatron groups create --organization example-org --name developers --owner-username morgan.smith

nomatron groups add-member --organization example-org --name developers --username jamie.lee

This gives you an admin group, a release group and a developer group. You can check membership at any time with nomatron groups list-members --organization example-org --name developers.

Groups page for Example Org listing developers and release-managers, both owned by Morgan Smith

The Groups page in Example Org, here with the developers and release-managers groups.

Checkpoint: your teams exist as groups. Now the people in them need roles.

Step 4: Give teams roles in the organization’s domain

Groups don’t grant anything, and in v0.1.7 you can’t assign a role to a Nomatron group. Roles reach people in two ways. For a team, map its IdP group to a role with an OIDC group mapping. The role applies when someone signs in through that provider with that group in their claims, so a change takes effect at their next login. Keep Sync Groups on so those roles are updated at each sign-in. For one person or a service account, assign the role directly, with a subject of user:<id> or service_account:<id>. For organization work, both use the domain org:<organization_id>.

Diagram titled “How roles are granted in the organization’s domain”. Roles are assigned only to users and service accounts. Under direct assignment, a user subject (user:ID) gets the organization-admin role in the domain org:ORGANIZATION_ID, and a service account subject (service_account:ID) gets the developer role in the same domain. Under group-based access, an IdP group claim from the identity provider goes through an OIDC mapping to the release-manager role, and, when Sync Groups is on, takes effect at the user’s next sign-in through that provider. A footnote says to use the ID, not the name, and that a Nomatron group does not receive a role assignment.

Roles go to users and service accounts directly, or to IdP groups through an OIDC mapping.

The commands below map your identity provider’s admin, release and developer groups to the built-in organization roles inside example-org. Use the group claim values your provider actually sends, and the provider slug from nomatron oidc providers list:

bash
nomatron oidc mappings create \
  --provider example-idp \
  --external-group example-org-admins \
  --role organization-admin \
  --domain org:<organization_id>

nomatron oidc mappings create \
  --provider example-idp \
  --external-group example-org-release-managers \
  --role release-manager \
  --domain org:<organization_id>

nomatron oidc mappings create \
  --provider example-idp \
  --external-group example-org-developers \
  --role developer \
  --domain org:<organization_id>

From here on, onboarding means adding someone to the right IdP group, and offboarding means taking them out there. The mappings themselves stay put, which makes them much easier to review. For a one-off, assign a role to a single user with nomatron roles assign --role_name developer --subject user:<user_id> --domain org:<organization_id>. Our IAM zero to pro post covers mappings and direct assignments in more depth.

For people who genuinely only need to look, such as support staff or stakeholders, the built-in organization-viewer role gives read-only visibility without approval or change powers.

Checkpoint: access inside the organization now follows IdP group membership, with direct user assignments only for exceptions. Let’s look at what the teams will actually work on.

Step 5: What lives inside an organization

Once the people side is in place, the organization becomes home for delivery work. Here’s a quick tour, with one command for each piece.

Diagram titled “What lives inside an organization”. Four panels show what an organization holds. People: organization members, and groups that name teams, such as approvers. Delivery: apps and app jobs, environments and variables, and approval policies. Infrastructure: organization-scoped clusters and organization-scoped GitHub App integrations. History: approvals and releases, and audit events for this tenant. A fifth panel, Kept global, lists what the organization doesn’t own: users, roles and licensing. A footnote says an app can use its own organization’s clusters and integrations, or global ones, and recommends scoping them to the organization by default.

What an organization owns, and what stays global.

Apps and app jobs

Apps are the main unit of delivery, and app jobs are the deployable job definitions under them. The command below creates an app in example-org that points at a Git repository and a cluster:

bash
nomatron apps create \
  --organization example-org \
  --name API \
  --slug api \
  --repo-url https://github.com/example-org/api \
  --cluster-id <cluster_id> \
  --ref main

This registers the api app, tracking the main branch of its repository.

Environments

Environments belong to the app, not to an individual job. A deployable app needs at least one environment, because plans, applies and promotions use it to work out the target cluster, namespace, variables and approval rules. Promotion follows the app’s environment order. You manage them with the nomatron environments commands.

Variables

Variables can live at global, organization, app or app-job scope. In a template, you can name the scope explicitly with NOMATRON_VAR_APP_JOB_<KEY>, NOMATRON_VAR_APP_<KEY>, NOMATRON_VAR_ORG_<KEY> or NOMATRON_VAR_GLOBAL_<KEY>. The command below lists the organization’s variables:

bash
nomatron variables list --organization example-org

If you use plain NOMATRON_VAR_<KEY> instead, Nomatron checks the app job first, then the app, then the organization, then global, and the first scope that has the key wins. Scopes aren’t merged, so a key at app scope completely hides the same key at organization scope. Within the winning scope, Nomatron uses the value for the environment you’re rendering if one is set, and the variable’s default otherwise.

Approval policies

Approval policies are set per app and cover every job in it, with optional stricter rules per environment. They deserve a post of their own, and a later post in this series, Nomatron approval policies, walks through them step by step.

Clusters

Nomad clusters can be global or scoped to one organization. The command below connects an organization-scoped cluster, reading the Nomad ACL token from a file:

bash
nomatron clusters create \
  --organization-name example-org \
  --name sandbox \
  --address https://nomad.example.internal:4646 \
  --token-file /run/secrets/nomad_acl_token

In the UI, an organization’s clusters are on its Nomad Clusters page, where New Nomad Cluster adds one. A cluster Nomatron hasn’t reached yet shows as Unpolled. Leave out --organization-name to create a global cluster instead. Supply the Nomad ACL token with --token-file, --token-stdin or $NOMATRON_NOMAD_ACL_TOKEN, never as a plain flag value. Application Networking commands for an organization’s cluster take --organization in the same way.

Nomad Clusters page for Example Org listing example-cluster with scope example-org, connectivity mode direct and status Unpolled

An organization-scoped cluster on the Nomad Clusters page. Unpolled means Nomatron hasn’t reached it yet.

GitHub App integrations

GitHub App integrations connect repository activity to planning and approval. In the UI, they’re on the GitHub App Integrations page under Integrations. They can be global or organization-scoped: add --scope organization --organization example-org when you create one. The private key and webhook secret go in only through the -file or -stdin flags, or through $NOMATRON_GITHUB_PRIVATE_KEY_PEM and $NOMATRON_GITHUB_WEBHOOK_SECRET.

Audit history

Each organization has its own audit view, which lets you review recorded changes for that tenant. The command below lists them:

bash
nomatron audit-logs list --organization example-org

Checkpoint: you know what belongs to an organization. The next question is where shared infrastructure should live.

Step 6: Global or organization-scoped clusters and integrations?

This is one of the first design decisions you’ll make, and both options have a place. Here’s how they differ:

  • Global clusters and GitHub integrations can be used by apps in any organization. They’re managed with global permissions, so you can keep them in the hands of platform admins.
  • Organization-scoped clusters and integrations are listed and managed inside their organization. An app can use its own organization’s clusters and integrations as well as global ones.

We recommend scoping clusters and integrations to the organization by default, to help keep each team’s infrastructure separate. Make something global only when it’s deliberately shared infrastructure that platform admins run, such as a central Nomad cluster whose ACL tokens the platform team looks after.

Step 7: Patterns for many teams

With one organization working, the rest is repetition. These patterns keep things calm as you grow:

  • One organization per team or business unit that owns its own apps. Give each one its own admin, release and developer IdP groups, mapped to roles in that organization’s domain, plus Nomatron groups for its approvers.
  • Keep global admin small. Platform admins hold global roles, and they hold organization roles only where they actually do delivery work. One person can legitimately hold a global role for platform work and a different organization role for delivery.
  • Don’t confuse organizations with environments. App environments such as dev, staging and prod live inside an app. Separately, we recommend running development, staging and production Nomatron installations as separate deployments with separate PostgreSQL databases and secrets. Those are two different things, and mixing them up leads to some confusing conversations.

Step 8: Day two: change, audit and clean up

Organizations need a little care after day one. Here are the routine jobs.

When a group owner moves on, hand the group over:

bash
nomatron groups transfer-owner --organization example-org --name developers --new-owner-username <new_owner_username>

This keeps the group running without anyone having to recreate it.

When you need to find a specific change, filter the organization’s audit entries by event type, resource type and time window:

bash
nomatron audit-logs list \
  --organization example-org \
  --resource-type approval_policy \
  --from 2026-11-01T00:00:00Z \
  --to 2026-11-30T23:59:59Z

This lists recorded approval policy changes in example-org for November. You can also filter with --event-type.

Eventually, an organization may need to go. Deleting one needs the global organizations delete permission, and there’s no preview, so treat it like any other irreversible change. Deleting an organization removes its apps, groups and memberships. It does not stop jobs already running on your Nomad clusters, so stop those first. The command itself is nomatron organizations delete --name example-org, using the slug or ID like every other organization command.

Step 9: Codify it with Terraform

Once your organization shape settles down, we recommend managing it as code, so a new team’s setup is a pull request rather than a run book. The relevant resources are nomatron_organization, nomatron_organization_member, nomatron_group, nomatron_group_member, nomatron_oidc_group_mapping, nomatron_role_assignment, nomatron_organization_nomad_cluster, nomatron_organization_github_app_integration, nomatron_application, nomatron_environment and nomatron_approval_policy.

A good starting set is organizations, groups and members, roles, group mappings and assignments, clusters, apps, jobs, environments and variables. Bring the rest in once those feel routine. Note that nomatron_role_assignment doesn’t have full remote read support in v0.1.7, so drift detection for assignments is more limited than for other resources.

Summary

This post walked through how Nomatron organizations work and how to run one well. You looked at the global, organization and resource layers, created an organization with an owner and members, modeled teams as groups, and gave teams built-in roles in the organization’s domain through IdP group mappings. You also toured what lives inside an organization, weighed global against organization-scoped clusters and integrations, and picked up patterns for running many teams side by side.

Here’s the setup as a one-screen checklist:

  • Organization created, with a name and slug you’re happy to keep, and a named owner.
  • Members added, and ownership transferred before anyone leaves.
  • Admin, release and developer groups created.
  • Team roles come from IdP group mappings in org:<organization_id>, with direct user assignments only for exceptions.
  • Clusters and integrations scoped deliberately.
  • Audit entries reviewed regularly.

This approach is a good fit as soon as a second team shares your Nomatron server. If it’s still just one team, a single organization with a couple of groups is plenty, and you can grow into the rest. For more detail, see the organizations and RBAC sections of the Nomatron docs. Next in this series, our IAM zero to pro post goes deeper on the people side: sign-in, users, groups and roles.

Ready to try it on your own Nomad clusters? Get early access

HashiCorp, Nomad and Terraform are trademarks of HashiCorp. Nomatron is not affiliated with or endorsed by HashiCorp. Other names may be trademarks of their respective owners.