Cloudflare Pages
Inngest allows you to deploy your event-driven functions to Cloudflare Pages.
Deploying to Cloudflare Pages
- Write your functions
- Serve your functions
- Set environment variables for your deployment
NODE_VERSION: 22INNGEST_SIGNING_KEY: ***- from the Inngest dashboardINNGEST_EVENT_KEY: ***- from the Inngest dashboard
Cloudflare Pages Functions run on the Workers runtime. Enable Node.js compatibility so Inngest can use AsyncLocalStorage during function execution:
compatibility_flags = ["nodejs_compat"]
compatibility_date = "2024-09-23"
Syncing your app
After your code is deployed to Cloudflare Pages, you'll need to sync your app with Inngest. Learn how to sync your app with Inngest here.