Skip to content
ArticleBeginner

Set up and use a Prisma Postgres database

Set up a Cloudflare Workers project that queries a managed Prisma Postgres database with Prisma ORM, then deploy it.

Last updated
Nov 10, 2026
Read the original

Prisma Postgres is a managed PostgreSQL database with built-in connection pooling. This tutorial queries it from a Worker with Prisma ORM, which runs inside the Worker using the nodejs_compat compatibility flag.

What you’ll learn

  • Create a Worker project with C3
  • Set up Prisma ORM and a Prisma Postgres database
  • Write the application’s queries
  • Deploy to Cloudflare

Cloudflare products used

Workers.

Follow the full, step-by-step tutorial in Cloudflare’s documentation.

Keep learning