> For the complete documentation index, see [llms.txt](https://will-schneider.gitbook.io/react-saas/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://will-schneider.gitbook.io/react-saas/going-to-production.md). Agents can also search and read this documentation through its [MCP server](https://will-schneider.gitbook.io/react-saas/~gitbook/mcp).

# Going To Production

1. Ensure you have tested and reviewed your application, marketing page, terms of service and privacy policy.
   * Terms of service: **/#terms-of-service**
   * Privacy policy: **/#privacy-policy**
2. Ensure you have a production environment properly configured
   * Different prod Firebase project
   * Stripe plugin configured in prod Firebase project with production webhook and products
   * Production stripe product IDs added to **stripe/config.ts**
   * Production .env vars in **env.local** and vercel
3. In the stripe dashboard make sure you have updated your branding and profile to use live payments.
4. Look into bill-capping and billing notifications in your cloud providers
   * Vercel: <https://vercel.com/docs/pricing/spend-management#pausing-projects>
   * Firebase / GCP: <https://medium.com/@steffenjanbrouwer/how-to-set-a-hard-payment-spending-cost-limits-for-google-cloud-platform-projects-d4fee7550d42>
5. Merge all production code into your main branch
6. Update your custom domain DNS to point to your prod web app
