Cloudflare Pages

Inngest allows you to deploy your event-driven functions to Cloudflare Pages.

Deploying to Cloudflare Pages

  1. Write your functions
  2. Serve your functions
  3. Set environment variables for your deployment

Registering your functions

Now that your function API is live, we need to let Inngest know which functions you’ve deployed; which events or schedules cause them to run; and the URL in which they’re hosted.

There are several ways you can register your functions with Inngest:

Registering via the UI

You can add your endpoint’s URL to Inngest via the dashboard:

Registering via the API

You can register your function’s endpoints with a single PUT call to your function endpoint:

curl -X PUT

This can be built in to your CI/CD process so that after your site has deployed you make this call to register your functions. The guides for each platform talk about how to do this in more detail.

If, for some reason, you can’t create a PUT call to your endpoint you can register functions via Inngest’s own API by sending the URL in a PUT request:

curl -X PUT --data '{"url":""}'