Open source / Examples
Reference integration demos
Self-contained Next.js apps that show how to wire the SDK, webhooks, and hosted MCP.
The `hebrah-examples` monorepo ships ready-to-run reference apps for each platform surface: patient management, ADT census, prior-auth queue, webhook reliability, SMART on FHIR launch, MPI matching, credentialing, and a clinical chart. Every demo is a Next.js app with its own port, README, and `.env.example`.
Demos
Ten Next.js apps covering the most common surfaces of the Hebrah platform.
- Patient management:3001
FHIR patient list/detail with a webhook receiver and mock event triggers.
(opens in new tab) - Admit monitor:3002
ADT census from webhooks plus hosted MCP integration for agent-driven config.
(opens in new tab) - Prior auth monitor:3003
Prior-auth task queue from `prior_auth.*` scenarios and inbound webhooks.
(opens in new tab) - Webhook relay:3004
Fault-injection webhook receiver for reliability and retry testing.
(opens in new tab) - SMART app:3005
SMART OAuth launch and code flow; fetches `Patient` via SMART access token.
(opens in new tab) - MPI match:3006
Queue for `patient.match.*` and `patient.merge.*` plus `mpi_merge_workflow`.
(opens in new tab) - Credentialing:3007
Queue for `credentialing.*` events plus the `credentialing_happy_path` trigger.
(opens in new tab) - Aggregator:3008
Proxy query to `/v1/sandbox/aggregator/query` with `aggregator.*` webhook inbox.
(opens in new tab) - Clinical chart:3009
Connection-scoped clinical resources with the `clinical_problem_lifecycle` scenario.
(opens in new tab) - Research Pack Medicare:3012
CMS Medicare utilization snapshot vs sandbox claim KPIs.
(opens in new tab)
Run a demo locally
- 1Clone https://github.com/Hebrah-inc/hebrah-examples.
- 2Pick a demo (e.g. `patient-demo`) and `cp .env.example .env`.
- 3Fill in `HEBRAH_API_KEY` and `HEBRAH_WEBHOOK_SECRET` from hebrah onboarding.
- 4Run `pnpm install && pnpm dev` and open the demo on its assigned port.
When to start from a demo
- You want a working webhook receiver to test `X-Hebrah-Signature` against.
- You need a starting point for ADT census, prior-auth queue, or SMART-on-FHIR launch.
- You want to study how to wire the SDK + hosted MCP together in a Next.js app.