Overview
Blekline governs prompts and tool calls before they reach models: mask secrets, enforce MCP policy, and write metadata-only audit events. The Local path runs local mask on your machine — no OSS clone required.
| You want to… | Start here |
|---|---|
| Connect an IDE in minutes | Connect a client below |
| Pick a plan path (Local → Enterprise) | Choose your path |
| Scan a K8s cluster (no account) | [NHIM audit quickstart](/docs/get-started/nhim-audit-quickstart) |
| Platform eval (fleet / sidecar) | [Eval journey](/docs/get-started/eval-journey) |
Prerequisites
- A Blekline workspace (sign up — Local is local mask only)
- One supported client: Claude Code, Claude Desktop, or Cursor
- Optional: workspace API token (
blw_...) withmask:writeandevents:writefrom Admin → API keys
Step 1 — Create a workspace
- Open app.blekline.com/auth/signup.
- Complete onboarding — Local uses local mask only (no hosted
/api/maskquota). See Blekline Local. - Note your workspace — you'll connect clients to this tenant.
Step 2 — Connect a client
Pick one client first:
| Client | Time | Guide |
|---|---|---|
| Claude Code | ~2 min | Claude Code — copy .claude/settings.json.example, set BLEKLINE_WORKSPACE_TOKEN |
| Claude Desktop | ~2 min | Claude connector — OAuth from Operations → MCP, or stdio |
| Cursor | ~3 min | Cursor — MCP + hooks; native chat uses block + clipboard |
More clients: Guides hub · VS Code · Codex
Optional — MCP in 60 seconds (no clone)
export BLEKLINE_WORKSPACE_TOKEN="blw_..."
export BLEKLINE_API_URL="https://app.blekline.com"
export BLEKLINE_CLIENT_SURFACE="sdk"
npx -y @blekline/mcp-server
Step 3 — Prove mask + audit
- Reload the client. Confirm tools:
blekline_mask_prompt,blekline_evaluate_tool_call. - Send a test prompt with an email and a fake AWS key (
AKIAIOSFODNN7EXAMPLE). - Confirm the model sees placeholders, not raw secrets.
- Open Operations → Activity — metadata only; we never store raw prompts.
Deployment paths
When you're ready to move beyond Local:
| Path | Best for | Doc |
|---|---|---|
| Local | Local hooks, stdio MCP | Blekline Local |
| Mark | Hosted proxy + team policy | Mark hosted |
| Redact | K8s sidecar + Enclave in your cluster | Enclave AKS |
| Enterprise | In-VPC, dual-control, customer keys | Enterprise in-VPC |
Plan details: Choose your path · in-app Billing
What's not step 1
- Cloning blekline-oss — for contributors and CI templates, not the Free wedge.
- Kubernetes / Docker sidecar — [platform eval](/docs/get-started/eval-journey), after you prove MCP mask locally.
Next steps
- [Runtime Enforcement Simulator](/docs/playground/runtime-enforcement) — interactive NHIM demo
- CI gate — merge-blocking NHIM in GitHub Actions
- Reference — OpenAPI, MCP server, SDK
- Platform — SSO, SCIM, procurement pack