Skip to main content
These examples describe the current Bijection CLI and SDK source. Use builds from the same source commit for these APIs. The public CLI and npm SDK are published independently and may lag this reference.
This tutorial follows the maintained OpenAPI CRM application. A CRM’s OpenAPI contract becomes a receiver of targets. A feed reads the CRM’s accounts into the app every minute, the app keeps its own customers beside them, and a rename is a task submitted to the CRM whose result the app records.

Before you begin

Use a source checkout with the matching Bijection CLI and SDK prepared. The example’s package manifest uses workspace sources, including the sources library @bijectionhq/library-sources; it is not a standalone public npm starter. Its complete declarations live under examples/openapi-crm. You also need:
  • An owned deployment with application sign-in configured.
  • A service implementing the captured services/crm/openapi.yaml contract. The example includes the contract, not a running CRM service.
  • A service token for that CRM. Use a dedicated account whose records you may change.
The receiver states guarantees of this particular example service, including idempotency keys kept for a day. An arbitrary CRM endpoint does not acquire those guarantees by adopting the declaration. For a first app without an external service, use the notes quickstart.

The app tree

Every name in the example is a path in its tree:
bijection/app.ts
The sources library is placed at feed and the members() library at team, so their tables and functions take paths there (feed.control.refresh, team.invite).

Follow the workflow

Keep using the same project and selected deployment throughout. The code shown in the steps comes from the maintained example.