Install the SDK
This is the first step of Instrument your app. The examples use @schematichq/schematic-react, a client-side React library that provides hooks to check flags, read entitlements, and track events. Every other language and framework is listed in the SDK overview.
Install
Get a publishable key
Generate a publishable key from Settings, API Keys in the Schematic dashboard. Publishable keys look like api_... and are safe to use client-side.
Mount the provider
Similar to libraries like Clerk, SchematicProvider wraps your application and provides the Schematic client to everything below it.
Verify the connection
useSchematicFlag takes a flag key and returns whether the current context has access. Point it at any flag key that exists in your account and render both branches.
Until you identify a company, this check resolves against no context and will read false for anything gated. That is expected at this point.
Next step
Identify users and companies so entitlement checks resolve against a real account, then return to Instrument your app for entitlement checks, usage events, and components.