TPSentinel LogoTPSentinel

Installation

Install Sentinel SDK packages with npm or load them from a CDN

Installation

The JS SDK covers both browser packages:

  • @testpress/sentinel-core for the headless SDK
  • @testpress/sentinel-ui for the default overlay UI

npm

If you want the default UI overlays:

npm install @testpress/sentinel-core @testpress/sentinel-ui

If you only want the headless SDK:

npm install @testpress/sentinel-core

CDN

Use the single CDN bundle when you want the default UI overlays. The bundle includes both TPSentinel and TPSentinelUI, with no browser import map or separate package imports required.

<script type="module">
  import {
    TPSentinel,
    TPSentinelUI,
  } from "https://static.tpsentinel.com/sdk/v2/core_1.0.6_ui_1.0.6/sentinel-bundle.js";
</script>

[!IMPORTANT] Pin exact versions in the CDN path. Do not point browser imports at moving targets.

Which package should you use?

  • Use @testpress/sentinel-core if you want to build your own UI
  • Use @testpress/sentinel-core + @testpress/sentinel-ui if you want the default setup and monitoring overlays

On this page