Prisma ORM 8 is here.Read the docs
V7

Guides

Prisma ORM v7

A collection of guides for various tasks and workflows

This section contains step-by-step guides for specific tasks with Prisma products, including Prisma ORM, Prisma Accelerate, and Prisma Postgres.

Quick start

Scaffold a new project with Prisma ORM and Prisma Postgres already set up:

bunx create-prisma@stable

Pick your framework and options from the prompts. To skip prompts use --yes, to set a framework upfront use --template (next, hono, svelte, astro, nuxt, tanstack-start, nest, elysia, turborepo).

Getting started

  • Next.js - Learn how to use Prisma ORM in a Next.js app and deploy it to Vercel
  • Hono - Learn how to use Prisma ORM in a Hono app
  • SvelteKit - Learn how to use Prisma ORM in a SvelteKit app
  • React Router 7 - Learn how to use Prisma ORM in a React Router 7 app
  • SolidStart - Learn how to use Prisma ORM in a SolidStart app

Deployment

  • Docker - Run a Prisma ORM app and its database with Docker Compose
  • Cloudflare Workers - Use Prisma ORM and Prisma Postgres in a Cloudflare Worker
  • Cloudflare D1 - Use Prisma ORM with Cloudflare D1
  • Turborepo - Share a Prisma ORM database package in a Turborepo monorepo
  • pnpm workspaces - Share a Prisma ORM database package in a pnpm workspace
  • Bun workspaces - Share a Prisma ORM database package in a Bun workspace

Database

Switch to Prisma ORM

Integrations

  • AI SDK - Store chat sessions and messages with Prisma ORM and Next.js
  • GitHub Actions - Provision a Prisma Postgres database per pull request

On this page