Nudj ships four distinct embedding modes. Pick one based on where your users are and what authentication you already have.Documentation Index
Fetch the complete documentation index at: https://docs.nudj.cx/llms.txt
Use this file to discover all available pages before exploring further.
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-ancestorsdirective so this widget can embed on arbitrary third-party domains.
3. Iframe embed
Host the Nudj user app directly in an<iframe> on your domain.
CSP requirements
The Nudj user app sets aContent-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-ancestorsfor universal embedding. - Ask your account manager to add your host to the organisation’s allowlist.
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.- iOS (Swift / WKWebView)
- Android (Kotlin / WebView)
Picking a mode
| Your surface | Recommended mode |
|---|---|
| Shopify storefront | Shopify storefront widgets |
| Non-Shopify ecommerce / CMS | Universal embed widget |
| Custom web portal, user already authenticated | Iframe + API Link |
| Custom web portal, user logging in fresh | Iframe + OIDC SSO |
| Native iOS / Android app | Mobile webview + API Link |
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

