Quickstart
For the full unassisted journey (install → ALLOW/DENY → evidence → observe/enforce), start at Onboarding. This page is a short reference.
Use the endpoint and credentials issued for your environment.
Prerequisites
- A Sector8
x-api-key - A Sector8
x-client-id - The base URL for your environment
- A runtime path where you can block execution when Sector8 returns
DENY
SECTOR8_BASE_URL with the endpoint issued to your environment when it differs from the public production example.
Step 1: Check the gate
Confirm the endpoint is healthy before routing actions through it.Step 2: Prove DENY and ALLOW
Send the action you are about to execute to Sector8 first. Use one known-blocked action and one safe action so your runtime proves both sides of the contract.DENY proof
decision, not on a specific reason_code. The same unsafe command may return different reason codes depending on which policy layer blocks it.
ALLOW proof
ALLOW.
reason_code and policy_version_id are opaque support/evidence identifiers. Do not build exhaustive dispatch logic on them. Treat policy_version_id as a non-empty policy identifier — it may be a binding hash or a runtime version label depending on the evaluation path. REST responses use the field decision. Some SDKs expose the same value as outcome — check for ALLOW the same way either way.Step 3: Honor the decision
Your application must only dispatch the proposed action when Sector8 allows it.REST field:
decision. SDK field: often outcome. Both carry ALLOW or DENY for synchronous evaluate. Dispatch only on ALLOW.Choose your integration path
MCP runtime
Govern Claude Code and MCP-connected tool calls with a runtime connector.
Python SDK
Add Sector8 to Python applications and services.
TypeScript SDK
Add Sector8 to Node.js and TypeScript applications.
What success looks like
You are done when:- The health endpoint is reachable for your environment
- Your runtime calls
/api/v1/evaluatebefore dispatching the action ALLOWactions may executeDENYactions are blocked before execution- Unknown or missing decisions fail closed and do not execute
- Decision artifacts include
reason_code,decision_trace_id,evidence_hash, andpolicy_version_id
The key integration rule is simple: the agent proposes, Sector8 decides, and your runtime honors the decision before side effects start.
