Quick Start Guide
The shortest correct path from portal access to a working hosted or local SDK call
Quick Start Guide
Use this page when you want the shortest path that still matches the real platform contract.
Mirror distributes built SDK artifacts through Portal and internal release channels. Do not start with public npm, pip, or Cargo flows. Use the exact acquisition command shown on Develop → SDK for your licensed products.
Before you install anything
Confirm licensed products in Account Settings → Product subscriptions or Billing & Usage. The Home product cards also reflect what is unlocked.
- Service Credentials for hosted runtime calls such as Gateway, Discover, AgentIQ, and Code Prism.
- Local SDK License for local/native execution such as native crypto, vector, metadata, prompt, CEK / KMS, and FHE.
Open Develop → SDK for the licensed package catalog, or download the service-credential handoff bundle from Develop → Credentials during create/rotate.
Use Use Mirror Surfaces when the operator question is which Portal surface to open first.
Acquire built artifacts
Prepare the credential bundle
For hosted calls, create or rotate a service credential in Portal and download the service credential handoff bundle while the client_secret is visible. Existing credential downloads can refresh URLs and license files, but they cannot mint tokens unless the secret is present.
Install SDK packages separately from Develop → SDK.
Do not commit .secrets/, service-credential.json, license files, bearer tokens, or copied credential contents.
Minimal environment
Hosted runtime calls
Local/native execution
Verify the deployment first
For hosted /mapi integrations, prefer Mirror() with MIRROR_SERVICE_CREDENTIAL_FILE — the SDK exchanges the credential and attaches the bearer token automatically. Use the first hosted SDK call below as your smoke test.
If you are validating the raw gateway/runtime surface directly, run (URLs come from the credential or from MIRROR_BASE_URL if you override it):
If the raw-gateway health checks fail, stop there. Fix the deployment or credentials before debugging SDK code.
Manual bearer token exchange (optional)
Only needed for raw HTTP scripts — not when using Mirror() with the SDK bundle:
First successful call
Common next steps
Service Credentials
Confirm which hosted products are licensed and then create a service credential in Portal.
Local SDK License
Use offline signed licensing for local/native crypto, vector, metadata, CEK / KMS, and FHE flows.
Product Surfaces
Decide whether you need Gateway, Discover, AgentIQ, Code Prism, or local/native crypto.
Use Mirror Surfaces
Use the right Portal surface for SDK acquisition, first hosted call, builder workflows, and key generation.
End-to-End Agent Workflow
Use the full cross-product path when you need products to work together.