Learn how to add a Novu-Powered In-App Inbox to your React app
@novu/react
package that helps to add a fully functioning Inbox to your web application in minutes. Let’s see how easily you can use it in your application.
Install the Inbox package
Add the inbox code to your react file
applicationIdentifier
in the Novu Dashboard under the API keys page.
The subscriberId
is the unique identifier of the user in your application, learn more about subscribers here.routerPush
prop to make your notifications navigatable. We will automatically pass the redirect.url
from your workflow definitions to the routerPush
prop.European Region Instructions
backendUrl
and socketUrl
props.Trigger a notification
The Inbox Component
The Inbox is not loading properly.
How to fix CORS error with Inbox?
withCredentials
config in axios or fetch http requests.