1
Set up your local environment
Start local development by running:2
Install packages
Install the Novu Framework package:3
Add a Novu API Endpoint
src/routes/api/novu/+server.ts
4
5
Create your workflow definition
Add anovu folder in your lib folder as such src/lib/novu/workflows.ts that will contain your workflow definitions.app/novu/workflows.ts
6
Start your application
To start your Svelte server with the Novu Endpoint configured, run the following command:npx novu dev and point it to the right port:7
Test your endpoint
Test your workflow by triggering it from the Local environment or using the Novu API:8
Deploy your application
Deploy your application to your preferred hosting provider. Make sure the/api/novu endpoint is accessible from the internet.For local development and testing, you can use tools like ngrok to expose your local server to the internet.- Learn about Workflow Controls to expose no-code editing capabilities
- Explore different Channel Steps like Email, SMS, Push, and more
- Set up Action Steps like Delay and Digest
- Check out our React Email integration for building beautiful email templates