Production
To run Payload in production, you need to build and serve the Admin panel. To do so, follow these steps:
- Invoke the
payload buildscript by runningyarn buildornpm run buildin your project root. This creates a./builddirectory with a production-ready admin bundle. - Finally run
yarn serveornpm run serveto run Node in production and serve Payload from the./builddirectory. - When you're ready to go live, see Deployment for more details.
Deployment
Before deploying your app, you need to:
- Ensure your app builds and serves in production. See Production for more details.
The easiest way to deploy your project is to use Payload Cloud, a one-click hosting solution to deploy production-ready instances of your Payload apps directly from your GitHub repo. You can also deploy your app manually, check out the deployment documentation for full details.
Source captured: 2026-10-11