Show your Sentinel security score directly on your website, blog, or documentation. Choose iframe or JavaScript embedding — both auto-update after each scan.
<iframe src="https://sbscanner.pro-sub.org/api/embed/example.com?theme=dark" width="100%" height="210" frameborder="0" scrolling="no" style="border:none;overflow:hidden;border-radius:12px" title="Sentinel Security Score for example.com"></iframe>Standard embed that works everywhere. The widget auto-resizes via the postMessage API — see the Auto-Resize section below. Best for simple integration with no extra JS dependencies.
Dynamically injects the widget via JavaScript and handles auto-resize for you automatically — no listener code needed. Can be placed anywhere in your HTML body.
The widget reports its rendered height to the parent page withwindow.parent.postMessagewhenever it loads or its content changes. The official <script> embed subscribes to this automatically, so no extra code is needed. If you embed the raw iframe yourself, copy this listener to keep the iframe height in sync:
// Auto-resize the iframe to match the widget's actual height.
// The widget posts a resize message when it loads and whenever its
// content changes (ResizeObserver).
window.addEventListener("message", function (event) {
const data = event.data;
if (!data || data.source !== "sentinel-scanner-widget" || data.type !== "resize") return;
// Only trust messages from the widget iframe.
if (event.source !== document.getElementById("sentinel-widget").contentWindow) return;
const height = parseInt(data.height, 10);
if (isFinite(height) && height > 0 && height < 2000) {
document.getElementById("sentinel-widget").style.height = height + "px";
}
});
// Your iframe must carry this id:
<iframe id="sentinel-widget" src="https://sbscanner.pro-sub.org/api/embed/example.com?theme=dark" width="100%" height="210" frameborder="0" scrolling="no" style="border:none;overflow:hidden;border-radius:12px"></iframe>{ source: "sentinel-scanner-widget", type: "resize", height: <number> }
Always verify event.source matches your iframe's contentWindow and check the source/type fields before applying the height.
Customize the widget by appending these query parameters to the URL:
| Param | Values | Description |
|---|---|---|
| theme | dark, light | Visual theme of the widget |
| compact | true, false | Compact layout (smaller height ~160px) |
| tier | free, pro | free shows the score to anyone; pro only renders the score for verified domains with an active PRO/ENTERPRISE subscription — otherwise a locked PREMIUM-watermark card is shown |
Add &tier=pro to embed the premium badge. It only displays the score for domains that are verified and owned by a workspace with an active PRO/ENTERPRISE subscription. Unverified domains or inactive subscriptions render a locked card with a faint PREMIUM watermark instead — a clean upsell without leaking the score.
Target.isVerified)PRO or ENTERPRISEShows the domain name, a gold lock, and a Unlock PRO badge CTA pointing at this page. The score, grade and findings counts are never rendered — the watermark makes it obvious the content is gated, not broken.
Scan your domain to generate your widget, then copy the embed code above. The widget updates automatically after each scan.