Learn how to use the Pushpad provider to send web push notifications using Novu
Pushpad Auth Token
(from the account settings) and the Pushpad Project ID
(from the project settings).
uid
or user ID
) allows targeting a specific browser when sending push notifications.
In order to target the Pushpad user from Novu, you must register the Pushpad uid
as the deviceToken
for your Novu subscriber. For example, if you invoked the Pushpad JavaScript SDK with pushpad('uid', 'user123')
, then user123
is the user ID for that browser.
Once you have the uid
value, the deviceToken
for your Novu subscriber can be set using this code:
setCredentials
or by using the deviceIdentifiers
field in overrides.