CLI and SDK
Esus Developer Kit
Choose how to connect a JavaScript or TypeScript application to Esus Health.
Choose your integration
| Tool | When to use it |
|---|---|
| CLI | Start a project or add an Esus setup guide to an existing application. |
| SDK | Make typed calls from your JavaScript or TypeScript server. |
| HTTP API | Integrate from any language or control each request directly. |
The CLI sets up files in your project. The SDK is the library your server uses at runtime. You can install the SDK on its own.
Choose a credential
- API key for server-to-server requests with the permissions assigned to the key. The host application still authorizes its own users before it calls Esus.
- SMART on FHIR for delegated access. The token’s scopes and launch context restrict which records the caller can access.
- App user session for people signing in to your tenant app. This is a separate SDK client. Your server manages token storage and coordinates refreshes.
Have your organization UUID handy. If you use an app-scoped API key, you’ll also need its App ID. Start in a test organization with synthetic records.