Partners

Offer Dcision inside your own app — one sub-workspace per customer, an embeddable editor for your end users and usage billed to your workspace.

Partner mode lets an app that uses Dcision offer it to its own customers: each customer gets their own decisions, edits them inside your app and never needs a Dcision account. You pay for the usage.

your backend ──(your API key)──▶ POST /v1/workspaces          one sub-workspace per customer (external_id)
your backend ──(your API key)──▶ POST /v1/embed/sessions      a session for the signed-in user → { url }
your page    ──(iframe, url)───▶ app.dcision.io/embed/…       the decision editor, inside your app
your backend ──(your API key + Dcision-Workspace: ext:<id>)──▶ POST /v1/decisions/{slug}   runs the customer's decision

Turn it on

  1. Settings → Partner in the app: turn on partner mode and add the allowed origins — the exact https://host of the pages that will show the editor. Only those pages can frame it.
  2. Optional: a display name (shown to your customers), default limits per customer (decisions, runs per billing cycle) and whether your customers' LLM destinations may use your LLM keys.
  3. Partner mode needs a plan with sub-workspaces (see plans). The plan's decision limit counts your customers' decisions too.

What lives where

Your workspace (parent)A customer's sub-workspace
Decisions, versions, executionsYour ownThe customer's, isolated
API keys, team, billing, secretsYesNone — your key acts in it with Dcision-Workspace
Engine settings and engine keys (BYOK)YoursYours (inherited)
Plan, wallet, rate limitsYoursYours (usage counts in your workspace)
Inbound webhook (Advanced tab)YesNo

Next

On this page