How to set up, configure, and use the Content Management System (CMS) in your project.
Tip: The CMS requires a PostgreSQL database. We recommend Supabase (free), but you can use any Postgres instance.
.env
and set the DATABASE_URL
to your Supabase or Postgres connection string.
.env
in your code editor.
DATABASE_URL
to your database connection string.
PAYLOAD_SECRET
to a random string. You can run the following command and paste the result in PAYLOAD_SECRET
:
DATABASE_URL
in .env
and ensure your database is running.