Skip to main content
Two setup steps before you write your first runbook:
  1. Pick a data-platform strategy when you create the tenant — Ntropii-managed Postgres or your own warehouse.
  2. Set up a runbook git repo — this is where you and your coding agent will author the Python code.
You only need to do each step once per tenant.

1. Pick a data-platform strategy

Every tenant has to declare what data platform it uses at creation time. Three values today: The chosen value is stored on the tenant and is the audit answer to “what data platform does this tenant run on?”. It’s required — there’s no implicit default.
One command. Ntropii provisions a per-tenant Postgres database for you; no credentials to register.
The tenant lands in PROVISIONING while the database is being prepared, then flips to ACTIVE. From that point on, runbooks running on this tenant read from and write to its managed database without any further config.
Managed Postgres is per-tenant isolated — each tenant gets its own database, not a shared schema. The data sovereignty model is identical to BYO: financial data stays inside Ntropii Tenant, never enters Ntropii Workspace.

Inspect what’s available

Once a binding is in place (managed or BYO), you can ask Ntropii to list the schemas it can see:
This is what your coding agent uses (via MCP) to understand your warehouse layout when generating a runbook.

2. Set up a runbook git repo

Runbooks are plain Python files using the ntro SDK. They live in a git repo that you own — on your own GitHub organisation, with your own commit history. Ntropii does not host your runbook source. Two repos to be aware of, with different roles:

Bootstrap your repo

1

Create your repo from the starter

On GitHub, open ntropii-com/ntro-runbook-starter and click Use this templateCreate a new repository. Pick a name (e.g. acme-runbooks) on your own organisation.
2

Clone your repo locally

You’ll see an empty runbooks/ directory and a README — that’s it. You fill it in.
3

Author a runbook

The fastest path: ask a coding agent (with the Ntro MCP server connected) to scaffold one for you. It reads your tenant + data platform schema, picks a pattern from runbook-templates, and writes the runbook into runbooks/<your-slug>/.Or copy by hand:
4

Test it

Sub-second startup; no deploy, no Docker, no Temporal cluster. If the scenarios pass, your environment is correctly set up.

What a runbook looks like

The requirements.txt contract. When you run ntro workflow create --path, the CLI uploads your runbook directory and its requirements.txt. Ntropii Tenant creates a fresh virtual environment from those exact pinned versions, then registers the workflow with Temporal. Two runbooks pinned to different SDK versions can run side-by-side without conflict.

CLI configuration

The CLI reads ~/.ntro/config.toml. Run ntro auth login to generate it interactively:
That writes:
Multiple environments (local / staging / production) can coexist as separate [connections.X] blocks. Switch between them with -c:
Override at runtime via env vars: NTRO_HOST, NTRO_API_KEY, NTRO_TENANT, NTRO_DEFAULT_CONNECTION_NAME.

What’s next

API keys

How to mint, scope, and rotate the key you just used.

Wire it into a coding agent

Once the env is configured, give your coding agent MCP + CLI access.