Skip to main content
Nudj ships four distinct embedding modes. Pick one based on where your users are and what authentication you already have.

Shopify storefront widgets

Theme app extension blocks a merchant drops into their storefront. First-class path if your storefront is Shopify.

Universal embed widget

Cross-platform embed script + admin customisation panel (PR #1971). Works on any CMS or hand-rolled site.

Iframe embed

Host the Nudj user app in an <iframe> on your own domain. Requires CSP frame-ancestors entries (see below).

Mobile webview (in-app browser)

Wrap Nudj in a native iOS/Android webview component. Use with API Link authentication.

1. Shopify storefront widgets

If you run Shopify, the default path is a theme app extension: small Liquid blocks the merchant places directly into their storefront via the theme editor. Each block renders an isolated, themed widget backed by the Nudj user app. See the dedicated storefront widgets page for the full widget catalog and theme editor configuration.

2. Universal website embed widget

PR #1971 introduced the universal embed: a small script tag your site includes that injects a configurable widget anywhere a placeholder <div> exists.
  • Admin customisation panel: configure the widget layout, theme, and auth mode without writing code.
  • Works anywhere: Shopify (non-theme-extension surfaces), custom sites, CMS-hosted pages.
  • CSP: PR #2333 opened the Nudj user app’s frame-ancestors directive so this widget can embed on arbitrary third-party domains.
See the Universal Embed Widget page for the embed script and setup.

3. Iframe embed

Host the Nudj user app directly in an <iframe> on your domain.

CSP requirements

The Nudj user app sets a Content-Security-Policy with a frame-ancestors directive. For the iframe to render on your domain you must either:
  • Be embedded from a Shopify storefront domain — PR #1638 added Shopify hosts to the allowlist.
  • Use the universal embed allowance — PR #2333 opened frame-ancestors for universal embedding.
  • Ask your account manager to add your host to the organisation’s allowlist.
Authenticate the iframe user via OIDC SSO or API Link — cross-origin iframe cookies are subject to the user’s browser settings.

4. Mobile webview

Wrap Nudj in a native webview when your surface is a mobile app. The only supported authentication mode here is API Link — your native app issues a Nudj token server-side and passes it into the webview.

Picking a mode

Next steps

Universal embed widget

Setup script and admin panel for the cross-platform embed.

Shopify storefront widgets

Widget catalog for theme app extensions.
Last reviewed: 2026-04 · Related PRs: #1971, #2333, #1638