Skip to content

Onboard as an MSP

You do this once, for your own GitHub organization. Every customer repository you generate later lives in that organization, so nothing on this page repeats per customer. The software is public; the license is the only part that involves NRIT. Check Prerequisites for your organization first.

1. Get your license and portal access

Email support@nrit-solutions.com for your license and for access to the license portal for your Entra ID tenant. Give your GitHub organization login and your Entra ID tenant id. An admin of that tenant then consents to the portal once. See What NRIT issues. To try the platform first, start with an evaluation.

2. Clone the bootstrap

gh repo clone nrit-solutions/nrit-alz-bootstrap

One clone serves every customer. The App scripts below run from it.

3. Create your operator repository

Create one private repository in your organization for the customer tfvars, for example <msp>-operator, and clone it next to the bootstrap clone:

gh repo create <msp-org>/<msp>-operator --private --clone
mkdir -p <msp>-operator/customers

The tfvars are committed there, never in the bootstrap clone. Secrets never go in them. See Create the customer var file.

4. Create the bootstrap App

One GitHub App per MSP, created once in your organization with the bootstrap repository's script:

scripts/create-github-app.sh -o <msp-org> -p bootstrap -k ~/keys/<msp>-bootstrap.pem

It opens GitHub's create page with the permissions filled in (repository: Actions, Administration, Contents, Variables, Secrets, Environments; organization: Members; all read and write, webhook off) and saves the private key with mode 600. The App is private, so it installs only on your own organization, and every customer repository you generate lives in that organization. Install it there. "Only select repositories" is enough, because a repository the App creates joins its installation; GitHub will not save that mode with no repository selected, so on a new organization select a placeholder repository. Its id, installation id, and key path go in each customer's tfvars; see GitHub.

5. Create the checks App

Create the checks App in your organization with the bootstrap's scripts/create-github-app.sh -p checks and install it with "All repositories". See the checks App.

6. Create the runners App

Create the runners App if you run the self-hosted posture, and install it in one of its two install modes. See the runners GitHub App.

What is public

  • The entrypoint nrit-solutions/tfpr: the reusable workflows, the dispatch action, the caller examples, and the engine runtime as release assets, tagged with the engine version. Your callers reference it directly and every job installs the runtime from its release; GitHub needs no access grant for a public repository, and no engine credential is involved.
  • The template nrit-solutions/nrit-alz-customer-template, Apache-2.0. The bootstrap generates each customer repository from it (template_repository in the tfvars, which defaults to it).
  • The bootstrap and everything the docs describe. The bootstrap runs against each customer's Azure tenant and your GitHub organization as your own bootstrap App (one per MSP, created with the bootstrap's scripts/create-github-app.sh) or, as a fallback, your own operator token. Nothing on NRIT's side.

What NRIT issues: the license

NRIT issues one license to your organization as the license holder. It does not expire and stays valid until it is revoked. Under it, you issue an entitlement for each customer yourself, in the NRIT license portal at https://portal.license.nrit.cloud, signed in with your own Entra ID tenant. An admin of that tenant consents to the portal once and gives the people who issue entitlements the Entitlement.Issuer role. One entitlement binds one GitHub organization to one Azure tenant, also without an expiry; you revoke it in the portal when a customer leaves. Enter the organization by its login, as in github.com/<login>: the portal looks up its numeric id, which the entitlement binds, so a later rename keeps working. The list shows both.

Each customer repository carries both as repository variables: TFPR_LICENSE (your license) and TFPR_ENTITLEMENT (that customer's entitlement). The bootstrap writes both: your license from the tfvars, and the entitlement that its scripts/onboard.sh fetches from the portal. Without them plan, drift and tfpr unlock work and tfpr apply is refused.

Nothing is installed on your organization for this, and NRIT holds no credential in it. The engine checks both on every run against a signed revocation list, which every engine job downloads from NRIT; no customer data is sent. The engine's messages never name NRIT: they name the variable to fix and link to License, which also lists the network requirements.

Evaluating first

An evaluation runs the same steps as a real onboarding, for 30 days, free of charge, in your own GitHub organization and against one sandbox tenant of yours. NRIT issues an evaluation license and portal access within five business days of the agreed start date. Under it you issue one entitlement, for the sandbox tenant. Customer tenants, customer workloads and production use are excluded.

At the end of the period NRIT revokes the evaluation license, unless you have signed the license agreement by then. After the revocation the sandbox runs plan only: plans still run, applies are refused, and nothing in the tenant is changed or removed. If you sign, the evaluation license can stay in force as your license, and the sandbox entitlement stays valid, so nothing needs to be redone.

What stays yours

  • A GitHub Team plan (or higher) on your organization, for the merge-gate ruleset on private repositories. See Prerequisites.
  • The checks App. The engine's check rows, the merge gate included, are written under a GitHub App you create in your own organization, so they carry your heading. See the checks App.
  • The runners App for the self-hosted posture, also yours. See the runners GitHub App.
  • The customer repositories, their state, identities, and runners. Every pin in them is an explicit commit; nothing changes behind your back.