Installation
Install Sentinel SDK packages with npm or load them from a CDN
Installation
The JS SDK covers both browser packages:
@testpress/sentinel-corefor the headless SDK@testpress/sentinel-uifor the default overlay UI
npm
If you want the default UI overlays:
npm install @testpress/sentinel-core @testpress/sentinel-uiIf you only want the headless SDK:
npm install @testpress/sentinel-coreCDN
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-coreif you want to build your own UI - Use
@testpress/sentinel-core+@testpress/sentinel-uiif you want the default setup and monitoring overlays