Backend quickstart
This guide walks you through installing the Node.js SDK, tracking your first event, and sending a notification — all in under 5 minutes.You will need your Auth Secret Key and SDK Secret Key from the Notifizz dashboard.
1. Install the SDK
2. Initialize the client
3. Track your first event
Pick an event name that matches a workflow you’ve set up in the dashboard, and specify who should receive the notification:track() call fires the event, and the .workflow() call attaches a notification template and its recipients. The event is sent automatically after a short delay (1 second by default).
4. Generate an auth token (optional)
If your frontend uses backend token authentication, generate a token for each user:What just happened?
If the user has the frontend widget open, the notification appeared instantly. If not, it will be waiting when they next load the widget.
Next steps
Frontend quickstart
Set up the widget to display notifications in your app.
Node.js SDK reference
Explore the full API: configuration, direct send, and more.