Create or update Novu environment variables in the user's project safely (never expose the secret key to the client). Complements the official Novu skills by covering project-level env configuration.
76
95%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Apply this skill exactly once per project, before installing client snippets.
| Variable | Where it lives | Purpose |
|---|---|---|
NOVU_SECRET_KEY | Server only | Auth for @novu/api, @novu/framework, MCP, CLI. |
NEXT_PUBLIC_NOVU_APPLICATION_IDENTIFIER (Next.js) / VITE_NOVU_APPLICATION_IDENTIFIER (Vite) / REACT_APP_NOVU_APPLICATION_IDENTIFIER (CRA) | Client | Identifies the Novu application for the Inbox component. |
Optional:
NOVU_API_URL=https://eu.api.novu.co for EU tenants.NEXT_PUBLIC_NOVU_SUBSCRIBER_ID (only for static / demo apps that don't have a real auth provider — never use this in production).NOVU_SECRET_KEY with NEXT_PUBLIC_*, VITE_*, or REACT_APP_*. Doing so leaks it into the client bundle..env.local, .env.example, and (if present) deployment manifests like vercel.json, netlify.toml, or fly.toml..gitignore to ensure .env.local is ignored.@t3-oss/env-nextjs or similar typed env loaders, register the new keys in their schema..env.example contains placeholder entries for every variable above..env.local (or platform-specific equivalent) has real values.console.log or telemetry call prints the secret key.public/, src/components/, or any client bundle entrypoint.d921755
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.