Skip to main content
Version: 2.x

Complete an embedded integration

These guides assume you understand the Bursar boundary and have completed the quickstart. Each page addresses one production task and links to reference material for exact software development kit (SDK) signatures.

If you are choosing the architecture, begin with Build a prepaid credit system for AI SaaS to separate application ownership from the transactional metering and ledger boundary.

Follow the integration sequence​

For a new integration, complete these tasks in order:

  1. Provision and isolate tenants before constructing tenant-bound stores.
  2. Configure storage backends and verify the migrated PostgreSQL connection.
  3. Protect monetary operations with stable idempotency keys and atomic admission.
  4. Manage credits through grants, purchases, charges, refunds, expiry, and revocation.
  5. Integrate subscriptions and payments after the credit boundary is stable.
  6. Instrument Bursar with OpenTelemetry when the host has selected its telemetry providers and exporters.

Add Google ADK metering or the Bursar coding-agent skill only when the host application uses those surfaces.

Browse by task area​

Learn or look up exact behavior​

Use the executable tutorials for guided learning. Use the reference section for commands, configuration, expressions, database schema, and SDK signatures.