# Cloudflare Monorepo URL: /docs/deployment/cloudflare-monorepo Learn how to deploy the Cloudflare Monorepo template to Cloudflare. ## Deploying to Cloudflare To deploy your project to Cloudflare, you will need to have a Cloudflare account. If you do not have a Cloudflare account, you can sign up for one [here on Cloudflare](https://dash.cloudflare.com/sign-up). ## Update app configs You will need to update the global config files located in the `/packages/configs` directory. You can view all of the available config files [here on GitHub](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/packages/configs). ## Set up your services Follow the instructions in the [AI](/docs/features/ai), [Auth](/docs/features/auth/lucia), [D1 database](/docs/features/database/cloudflare-d1), [Emails](/docs/features/emails), [Payments](/docs/features/payments/metered), and [Real-time](/docs/features/real-time) documentations to set up services that you will need for your project. ## Deploy the docs app Follow the instructions in the [Setup](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/docs#setup) and [Deployment](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/docs#deployment) sections of the [README](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/docs) of the docs app at `/apps/docs/README.md` to deploy the docs app to Cloudflare. Once you have deployed the docs app, note origin URL that you have deployed to. If you wish to use a custom domain, you can do so by going to the settings page of the Cloudflare Worker dashboard. You will need this origin URL for connecting the Next.js app zones. ## Deploy the marketing app Follow the instructions in the [Setup](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/marketing#setup) and [Deployment](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/marketing#deployment) sections of the [README](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/marketing) of the marketing app at `/apps/marketing/README.md` to deploy the marketing app to Cloudflare. Once you have deployed the marketing app, note origin URL that you have deployed to. If you wish to use a custom domain, you can do so by going to the settings page of the Cloudflare Worker dashboard. You will need this origin URL for connecting the Next.js app zones. ## Deploy the web app Follow the instructions in the [Setup](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/web#setup) and [Deployment](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/web#deployment) sections of the [README](https://github.com/pluv-io/ship-cloudflare-monorepo/tree/main/apps/web) of the web app at `/apps/web/README.md` to deploy the web app to Cloudflare. When deploying the web app to Cloudflare, you will also need to update the build environment variables `NEXT_PUBLIC_ZONE_DOCS_URL` and `NEXT_PUBLIC_ZONE_MARKETING_URL` to the origin URLs of the docs and marketing apps that you deployed earlier.