# Cloudflare Pages

Inngest allows you to deploy your event-driven functions to [Cloudflare Pages](https://pages.cloudflare.com/).

## Deploying to Cloudflare Pages

1. [Write your functions](/docs-markdown/learn/inngest-functions)
2. [Serve your functions](/docs-markdown/learn/serving-inngest-functions#framework-cloudflare-pages-functions)
3. [Set environment variables](https://developers.cloudflare.com/pages/get-started/#environment-variables) for your deployment

- `NODE_VERSION: 22`
- `INNGEST_SIGNING_KEY: ***` - from [the Inngest dashboard](https://app.inngest.com/env/production/manage/signing-key)
- `INNGEST_EVENT_KEY: ***` - from [the Inngest dashboard](https://app.inngest.com/env/production/manage/keys)

> **Callout:** 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](/docs-markdown/apps/cloud#sync-a-new-app-in-inngest-cloud).