- Pick a data-platform strategy when you create the tenant — Ntropii-managed Postgres or your own warehouse.
- Set up a runbook git repo — this is where you and your coding agent will author the Python code.
1. Pick a data-platform strategy
Every tenant has to declare what data platform it uses at creation time. Three values today:| If you… | Pick |
|---|---|
| Are starting fresh, don’t run a warehouse, or want the simplest path | managed-postgres |
| Already run Snowflake for fund-ops data | snowflake (BYO) |
| Run Microsoft Fabric and want Ntropii to read from it | microsoft-fabric (BYO) |
- Use Ntropii Postgres (default)
- Bring your own data platform
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:2. Set up a runbook git repo
Runbooks are plain Python files using thentro 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:
| Repo | What it’s for |
|---|---|
ntro-runbook-starter | The empty scaffold. Use it once, as the template for your own repo. After bootstrap, your repo lives at your org and is yours to evolve. |
runbook-templates | Read-only reference library — nav-monthly, document-ingest, nav-monthly-journals. Look at it; copy patterns from it; don’t commit to it. |
Bootstrap your repo
Create your repo from the starter
On GitHub, open
ntropii-com/ntro-runbook-starter and click Use this template → Create a new repository. Pick a name (e.g. acme-runbooks) on your own organisation.Clone your repo locally
runbooks/ directory and a README — that’s it. You fill it in.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:What a runbook looks like
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:
[connections.X] blocks. Switch between them with -c:
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.