Run the Local Studio
dev
command is your go-to command whenever you want to build and preview your changes before syncing to cloud. By default, it will start a secure tunnel that our durable cloud workflow engine will
be able to communicate with, and the Local Studio web service listening on http://localhost:2022
Create a Next.js application
.env
file containing the NOVU_SECRET_KEY
environment variable required
for securing your endpoint. And a sample workflow demonstrating the flexibility of Novu using Step Controls.Manually add to an existing application (5 minutes)
@novu/framework
SDK PackageNOVU_SECRET_KEY
environment variable to your .env
novu
folder that will contain your workflow definitionsStart your application
https://localhost:4000
and your novu endpoint will be exposed at /api/novu
served by the Next.js API.If your Next.js application is running on other than 4000
port, restart the novu dev
command with the port:Test your workflow
http://localhost:2022
by running the npx novu dev
command on the first step.The onboarding guide will guide you to send the newly created sample workflow to your e-mail address.Deploy your application