Skip to main content

Frontend Setup: JavaScript/TypeScript via CDN

CDN path is for production Enterprise deployments

The jsdelivr CDN install is designed for Sailfish Enterprise production frontends — static HTML, CMS embeds, server-rendered pages, and any site where adding a bundler isn't practical. It defaults to the Sailfish cloud ingest endpoint and has no supported knob for redirecting telemetry to a local Desktop App backend.

For Desktop App local development, use the npm install path — it lets you point the recorder at your local http://localhost:6776 endpoint and gate initialization behind a NODE_ENV === 'development' check so no telemetry ships from production.

If you're deploying to production Enterprise anyway

If you're reading this page because you plan to ship to the Sailfish Enterprise cloud rather than a local Desktop App instance, the full CDN install reference lives in the Enterprise docs:

The snippet is a single <script> tag pointing at cdn.jsdelivr.net/npm/@sailfish-ai/recorder@<version>, with data-* attributes covering every non-deprecated initRecorder option (apart from the two JSON-typed ones, which stay npm-only).

Next steps