Use this page for the most common integration questions before or during implementation. If you are already debugging a failure, start with Troubleshooting.Documentation Index
Fetch the complete documentation index at: https://docs.narrativebanking.com/llms.txt
Use this file to discover all available pages before exploring further.
Integration basics
Do I need to install an npm package?
Do I need to install an npm package?
nsdk-loader.js, render a host container, and provide a short-lived Embed Token from your backend.Which frameworks are supported?
Which frameworks are supported?
Can I embed multiple widgets on one page?
Can I embed multiple widgets on one page?
What browsers are supported?
What browsers are supported?
Authentication
How long should the Embed Token live?
How long should the Embed Token live?
iat and exp expressed in Unix seconds.Should I store the Embed Token in the browser?
Should I store the Embed Token in the browser?
What happens when the Embed Token expires?
What happens when the Embed Token expires?
What makes a token valid?
What makes a token valid?
aud = nsdk-embed and the required claims: iss, sub, aud, iat, exp, and jti. Include nsdk.user.name and nsdk.user.email so the session has the expected user context.When should the frontend fetch the Embed Token?
When should the frontend fetch the Embed Token?
Embedding runtime
Should I use declarative or imperative boot?
Should I use declarative or imperative boot?
How does the SDK handle SPA route changes?
How does the SDK handle SPA route changes?
Do I need to call NSDK('destroy') on unmount?
Do I need to call NSDK('destroy') on unmount?
Can I delay boot until the page is fully ready?
Can I delay boot until the page is fully ready?
NSDK('boot', ...).Security
Can I sign tokens in the frontend?
Can I sign tokens in the frontend?
What CSP headers do I need?
What CSP headers do I need?
script-src, frame-src, and any related network policies used by your environment.Is the Embed Token visible to end users?
Is the Embed Token visible to end users?
Can I include extra metadata in the token?
Can I include extra metadata in the token?
API & data
How do I know if my integration is working?
How do I know if my integration is working?
What does a 401 after successful embed mean?
What does a 401 after successful embed mean?
How often does data refresh?
How often does data refresh?
Can I test with mock tenant users first?
Can I test with mock tenant users first?
Can users connect more than one bank account?
Can users connect more than one bank account?
v1.5.7 experience. The SDK currently supports one bank account connection while full multi-account support is prepared.Does provider data appear immediately after connection?
Does provider data appear immediately after connection?
How are curated reports delivered?
How are curated reports delivered?
Partner customisation
Can the SDK use partner branding?
Can the SDK use partner branding?
Can the Coach tone match a partner brand?
Can the Coach tone match a partner brand?
v1.5.7 supports partner-specific coaching personality configuration so the assistant can better match a tenant’s preferred tone and vocabulary.Can partners use custom fonts?
Can partners use custom fonts?