Build with Schematic

Integrating Schematic comes down to three things your code does. You tell Schematic who your companies and users are, you send usage events for the consumption you meter and bill on, and you check a company’s entitlement before running a feature so the limits you sold are enforced as that usage happens. Plans, prices, entitlements, and credit grants are configured outside your codebase and take effect without a deploy, so a pricing change do not turn into engineering tickets.

This section covers the SDKs, the REST API, and the operational pieces you need to run that integration in production.

Start here

  • Instrument your app — the code track, from installing an SDK to checking a flag and reporting usage.
  • SDKs — the SDK index, with install and setup for each.
  • Cross-platform features — the local caching, event buffering, retries, and real-time updates you get from any SDK.
  • API reference — every REST resource and endpoint, grouped by object.

Server-side SDKs

Reach for a server SDK when an entitlement decision cannot be trusted to the browser, and for reporting usage from your backend.

  • Node.js — for TypeScript and JavaScript services.
  • Python — for Django, Flask, FastAPI, and background workers.
  • Go — for Go services and CLIs.
  • Java — for JVM services, published to Maven Central.
  • C# — for .NET services.
  • Ruby — for Rails and other Ruby applications.

Client-side and framework SDKs

Reach for a client SDK when the UI itself needs to know what a company is entitled to, and needs to update when that changes.

  • React — hooks and providers for entitlement-aware React components.
  • Next.js — the React SDK wired up for the App Router and server components.
  • React Native — the same hooks for iOS and Android apps.
  • Vue — composables for Vue and Nuxt.
  • Angular — services and directives for Angular apps.
  • JavaScript — the framework-free browser SDK.

API and authentication

  • Resources — the full endpoint list, organized by the object it acts on.
  • Authentication — publishable and secret API keys, and which one belongs where.
  • Pagination — how list endpoints page and how to walk them.
  • Rate limiting — the limits you will hit and the headers that tell you where you are.

AI and agent tooling

  • AI tooling for developers — the hosted MCP server, OAuth and API key connection, and the AI skills repo for generating integration code.

Sample apps

  • Next.js weather search app — a full Next.js app using Clerk auth, feature flags, usage tracking, and an embedded customer portal.
  • Python image search app — a metered Flask app that checks access, reports usage, and manages the subscription lifecycle.

Data model and operations

  • Concepts for engineers — profiles, keys versus traits, flags, and how they fit together at runtime.
  • Entity relationship diagram — how companies, users, plans, features, and entitlements relate.
  • Key management — how to map IDs from your app, Stripe, and your CRM onto one Schematic entity.
  • Environments — which resources are environment-scoped, which are account-wide, and how to promote work to production.

Where to go next

  • Enforce entitlements — flags, features, feature types, and company overrides.
  • Embed billing UI — drop-in checkout, pricing tables, and customer portal.
  • Webhooks — subscribe to plan changes and entitlement triggers to drive your own workflows.