Documentation
GuidesContent

Payload or Sanity

The two CMSs devlooper connects, what each does differently, and which to choose.

devlooper connects one of two CMSs. The site's owners edit in the same panel at /cms with either; what differs is where the content lives and a few features.

Which to choose

  • Payload keeps the content inside your site, in its own database. Nothing to sign up for. Choose it when the site is yours to host and you want forms, backups, languages and scheduled publishing.
  • Sanity keeps the content in Sanity's cloud, on a Sanity account. Choose it when the client already uses Sanity, or the site is built with Astro.

Side by side

PayloadSanity
Where content livesIn your site's databaseIn Sanity's cloud
Works withNext.jsNext.js and Astro
Signing in at /cmsE-mail and passwordSign in with Sanity
RolesAdministrator, Editor, Author, and Works on limitsAdministrator and Editor, from the Sanity project's roles
Inviting peopleIn /cms, with a linkIn Sanity
Publish on a dateYesNo
LanguagesYesNo
FormsYesNo
BackupsYes, nightly and before every publishSanity keeps its own history
A moved page redirects on its ownYesNo: update links to it
Going liveGo live in the CMS tab sets up the database, picture storage and the owner's accountPublishing allows the live address in Sanity

The same on both: pages, lists, pictures and files, trash, cropping, drafts and autosave, history, analytics, and comments.

Payload: going live

A Payload site needs a live database before owners can edit the published site. In the app's CMS tab, after Publish the site, click Go live. devlooper sets up, in order: the Vercel project, a database on Neon, storage for pictures, secrets, the address, the tables, your content and pictures, and the owner's account. It shows the owner's password once: copy it and send it to them.

Sanity: the project and the Studio

Sanity sites use a project on a Sanity account. In the app, connect the account in Settings → Accounts → Sanity. After connecting, Open the Studio opens Sanity's own editor; people and their roles are managed there.

Keeping the CMS up to date

When a newer version of the CMS is out, the CMS tab shows a bar with Update the CMS. It updates the panel and the CMS code; your pages and content stay as they are.