This page focuses on integration configuration and authentication contract details for published SDK interfaces.
Frontend runtime
Base URLs, loader script, mount target, widget selection, and embed-token handoff in the browser.
UI theme customisation
Customise primary colour, text colour, surface backgrounds, and font family to match your product UI.
Backend secrets
Connected App identifiers and signing secrets that must stay on the tenant backend.
Embed token contract
JWT claims, TTL guidance, and validation rules required before NSDK can issue scoped session tokens.
Configuration groups
Frontend runtime configuration
Frontend runtime configuration
Use these values in the tenant frontend when loading the SDK and mounting a widget container.
Backend Connected App configuration
Backend Connected App configuration
These values belong on the tenant backend only. They are used when minting the Embed Token.
Embed Token claim reference
Embed Token claim reference
The Embed Token is the configuration object with the most validation requirements. NSDK will reject the token if required claims are missing or malformed.
UI theme customisation
Assume your tenant integration already enables runtime UI theming. You can override colours and typography from the host application.Recommended theme tokens
Example: host-level CSS override
Example: boot-time theme object
Prefer keeping colour and font tokens in your existing design-system variables, then map those values into NSDK theme tokens. This keeps tenant UI and embedded UI consistent.
Recommended configuration sets
Validation checklist
Token is rejected before boot
Token is rejected before boot
Verify
iss, aud, iat, exp, and jti first. The most common issues are wrong audience, wrong time unit, or signing with a secret that does not match the Connected App.Container does not render
Container does not render
Confirm
NSDK_BASE_URL points to the hosted SDK origin, nsdk-loader.js loads successfully, and the mount selector or data-nsdk container exists before boot.Frontend can load the SDK but cannot fetch a token
Frontend can load the SDK but cannot fetch a token
Check that your embed-token endpoint is same-origin or explicitly configured for CORS with credentials and authenticated tenant sessions.
For the complete troubleshooting guide covering all common integration issues, see Troubleshooting. For common questions, see FAQ.