Embed the in-app inbox
The in-app inbox is an embeddable, real-time notification feed your end-users see inside your product. End-users never hold a Notavia account — your backend mints a short-lived inbox token for them.
1. Mint an inbox token (server-side)
Section titled “1. Mint an inbox token (server-side)”Use a secret key and the SDK’s token helper to mint a signed, short-lived token for the signed-in end-user:
var token = client.Tokens.MintInboxToken(endUserId: "user-123");const token = client.tokens.mintInboxToken({ endUserId: 'user-123' });Never expose a secret key to the browser — only the minted token reaches the client.
2. Drop in the component
Section titled “2. Drop in the component”Notavia ships a framework-agnostic web component and a Blazor component. Pass the minted token; the feed connects over SignalR and updates live.
<notify-inbox token="<minted-token>"></notify-inbox>3. White-label it
Section titled “3. White-label it”Style the component with CSS custom properties so the inbox matches your product. The feed, unread counts, and mark-as-read all work out of the box.