@praxa/sdk and @praxa/cli packages are TypeScript/Node.js artifacts; other
languages integrate through the public REST plane or through a trusted
application backend.
Prerequisites
Before you begin, prepare:- a written success criterion and proof boundary for the integration under test;
- synthetic tenants, subjects, credentials, and lifecycle fixtures;
- redacted observability fields and a secure location for test evidence;
- an owner for rollback, cleanup, and unresolved qualification gaps;
- an acceptance assertion that proves the selected framework matches the API plane, credential boundary, and required acceptance tests.
Decision matrix
Choose the API plane first
Do not mix credentials between planes. A Fabric key does not become a Gateway OAuth token, and a provider client does not grant Praxa execution authority.Mobile and browser rule
React, Vue, Svelte, React Native, SwiftUI, and Kotlin UI code should call your own authenticated backend. Application bundles can be inspected by users and attackers; they are not a secret store for Praxa API keys or delegated backend tokens.Shared acceptance matrix
Every framework tutorial ends with the same core proof:- Missing application authentication fails before Praxa is called.
- Invalid or over-limit input fails before Praxa is called.
- Tenant and owner come from the authenticated session.
- The backend owns the Praxa credential and idempotency key derivation.
- Exact retries preserve the logical operation.
- Changed input under an old key is refused.
- Revoked and under-scoped credentials fail closed.
- Foreign identifiers do not disclose another tenant’s resource.
- Admission is followed to terminal readback.
- Disposable credentials and test data are cleaned up.
Test your integration
Apply the full package, authorization, replay, isolation, outage, stream,
webhook, deletion, and cleanup matrix.
Troubleshooting
Best practices
- Define the expected observable result before running the test.
- Separate positive, denial, isolation, replay, degraded-state, and cleanup lanes.
- Use synthetic data and credential fingerprints rather than secrets.
- Record unresolved checks as pending instead of inferring success.
- Keep rollback and owner information beside the release evidence.
Optimize for production
- Run cheap contract and fake tests before authenticated canaries.
- Parallelize only independent test lanes and cap external side effects.
- Sample high-volume telemetry while retaining every denial, conflict, and terminal failure.
- Measure pass rate, p50/p95 latency, retry budget, isolation failures, cleanup completion, and time to diagnose.
Cleanup and next steps
- Revoke every disposable key and OAuth grant.
- Remove test endpoints, provider records, candidates, and local artifacts.
- Close or explicitly record unresolved runs and verification gaps.
- Publish only redacted results, exact versions, timestamps, and rollback instructions.