When to use Cloudflare Pages
Use Cloudflare Pages when you:- Already use Cloudflare for your DNS and want everything in one place.
- Need Cloudflare Access for authentication in front of your docs.
- Want Cloudflare’s DDoS protection and WAF on your docs site.
Setup overview
Build your Mintlify project
Run
mintlify build locally or in CI to generate a static build of your docs:Connect to Cloudflare Pages
In the Cloudflare dashboard, go to Pages → Create a project and connect your Git repository. Set the build command to
mintlify build and the output directory to .mintlify/build.