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
Install Packages
@novu/framework
SDK PackageAdd a Novu API Endpoint
Add a Novu Secret Key Environment Variable
NOVU_SECRET_KEY
environment variable to your .env
Create your workflow definition
novu
folder in your app folder as such app/novu/workflows.ts
that will contain your workflow definitions.Start your application
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