Skip to content

Commit 0bee121

Browse files
authored
Merge branch 'main' into blog/gremlin-turning-open-tasks-into-pull-requests
2 parents 8382802 + 734c768 commit 0bee121

117 files changed

Lines changed: 9762 additions & 1779 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: "Launching Prisma Compute in Public Beta"
3+
slug: "launching-prisma-compute-public-beta"
4+
date: "2026-06-08"
5+
authors:
6+
- "Shane Neubauer"
7+
metaTitle: "Launching Prisma Compute in Public Beta"
8+
metaDescription: "Prisma Compute is now in public beta: TypeScript app hosting that runs on the same infrastructure as your database. Point your agent at your project and tell it to deploy."
9+
heroImagePath: "/launching-prisma-compute-public-beta/imgs/hero.png"
10+
heroImageAlt: "Prisma Compute, now in public beta"
11+
metaImagePath: "/launching-prisma-compute-public-beta/imgs/meta.png"
12+
tags:
13+
- "announcement"
14+
- "platform"
15+
- "ai"
16+
---
17+
18+
import { deployTerminalLines } from "./snippets";
19+
20+
The hard part of building apps has moved up the stack. You describe what you want, and your agent codes it at 50x the speed.
21+
22+
What didn't change is everything after: finding somewhere to host it, configuring your database, copying connection strings between dashboards, setting environment variables, inspecting build output, chasing logs, and feeding all of that context back into the agent when something breaks.
23+
24+
The friction didn't disappear, it moved.
25+
26+
## Introducing Prisma Compute
27+
28+
Today we're launching Prisma Compute in [public beta](https://pris.ly/public-beta-docs): TypeScript app hosting that runs on the same infrastructure as your database, without sending traffic through a separate hosting vendor.
29+
30+
It runs on Bun, scales to zero when nothing is happening, and treats every deploy as an immutable version with its own preview URL. You can look at a change running in production-like conditions before you promote it, and roll back just as easily by promoting the previous one.
31+
32+
Every branch comes with a full database and an app deployment. Your agent can spin up a branch, test a new idea against a real database, and merge it into production when it's ready. App and database, together in one box.
33+
34+
The most important part is that your agent can drive the whole loop: build, deploy, read logs, fix, and redeploy. It can make a change, inspect what happened, fix what failed, and try again without jumping between tools.
35+
36+
That is the direction Prisma is moving in: one place where product builders, and their agents, can define the stack, deploy it, inspect it, and keep iterating.
37+
38+
## Where Prisma is headed
39+
40+
Prisma started as a type-safe ORM for the TypeScript community, where you could express your database schema as code. Then we launched Prisma Postgres, so you could host your database with Prisma too. Now Prisma Compute brings the app and database together into one platform, where you, or your agent, can define the entire stack as code and deploy it.
41+
42+
With Prisma Compute, Prisma becomes a platform for product builders who want to build software with their agent, in the way software is built in 2026.
43+
44+
## Try it
45+
46+
Compute is in public beta starting today. Sign in once with `bunx @prisma/cli@latest auth login`, the one step that needs a human, then point your coding agent at your project and tell it:
47+
48+
<AgentPrompt
49+
prompt="Deploy your app with @prisma/cli@latest."
50+
skill="prisma-cli"
51+
terminalCommand="bunx @prisma/cli@latest app deploy --db"
52+
terminalLines={deployTerminalLines}
53+
/>
54+
55+
One prompt, and the agent reads the project, provisions a branch database, applies your schema, builds the app, and ships an immutable preview URL. When something breaks, it reads the same logs you just watched scroll by, fixes the cause, and redeploys. The loop stays inside the agent.
56+
57+
Want the full walkthrough, from signing in to connecting GitHub for deploy-on-push? Read the [Compute quickstart](https://docs.prisma.io/docs/prisma-compute/deploy).
58+
59+
We're early and shipping fast, so tell us what breaks or feels rough in [the `prisma-compute` channel on our Discord](https://pris.ly/discord-compute).
60+
61+
Go build something.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Captured from a real `@prisma/cli@latest app deploy --db` run.
2+
// The agent reads the project and detects the build, wires a branch
3+
// database, applies the schema, builds, uploads, and ships an
4+
// immutable preview, all from one command.
5+
export const deployTerminalLines = [
6+
"✔ Linked ./guestbook to project compute-guestbook-demo",
7+
"Deploying compute-guestbook-demo / add-guestbook / guestbook",
8+
" Build command bun run build",
9+
" Output .",
10+
"◇ Creating branch database…",
11+
"✔ Created branch database",
12+
"◇ Applying schema with prisma db push…",
13+
"✔ Database in sync with prisma/schema.prisma",
14+
"✔ Added branch env: DATABASE_URL, DIRECT_URL",
15+
"Building locally… Built",
16+
"Uploading… Uploaded",
17+
"Deploying… Deployed",
18+
"✔ Live in 4.5s",
19+
" https://add-guestbook.guestbook.prisma.build",
20+
];
-501 KB
Loading
515 KB
Loading
323 KB
Loading

apps/blog/src/app/(blog)/layout.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ export function baseOptions() {
1111
{
1212
text: "Products",
1313
sub: [
14+
{
15+
text: "Compute",
16+
url: "https://www.prisma.io/compute",
17+
desc: "Deploy TypeScript to production",
18+
icon: "fa-regular fa-microchip",
19+
},
1420
{
1521
text: "Postgres",
1622
url: "https://www.prisma.io/postgres",
@@ -20,7 +26,7 @@ export function baseOptions() {
2026
{
2127
text: "ORM",
2228
url: "https://www.prisma.io/orm",
23-
desc: "Managed Postgres for global workloads",
29+
desc: "Type-safe ORM for TypeScript and Node.js",
2430
icon: "fa-regular fa-database",
2531
},
2632
{
@@ -29,12 +35,6 @@ export function baseOptions() {
2935
url: "https://www.prisma.io/studio",
3036
desc: "Explore and manipulate your data",
3137
},
32-
{
33-
icon: "fa-regular fa-bolt",
34-
text: "Accelerate",
35-
desc: "Make your database global",
36-
url: "https://www.prisma.io/accelerate",
37-
},
3838
],
3939
},
4040
{
@@ -105,10 +105,7 @@ export default function Layout({ children }: { children: React.ReactNode }) {
105105
return (
106106
<ThemeProvider defaultTheme="system" storageKey="theme">
107107
<UtmPersistence />
108-
<NavigationWrapper
109-
links={baseOptions().links}
110-
utm={{ source: "website", medium: "blog" }}
111-
/>
108+
<NavigationWrapper links={baseOptions().links} utm={{ source: "website", medium: "blog" }} />
112109
{children}
113110
<Footer basePath="/blog" />
114111
</ThemeProvider>

apps/blog/src/components/AgentPrompt/Client.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export function AgentPromptClient({
231231
</div>
232232
{showSkillBadge ? (
233233
<div className="agent-prompt-skill">
234-
<span className="agent-prompt-skill-label">Agent</span>
234+
<span className="agent-prompt-skill-label">Skill</span>
235235
<span className="agent-prompt-skill-name">{skill}</span>
236236
</div>
237237
) : null}
@@ -276,7 +276,7 @@ export function AgentPromptClient({
276276
<span />
277277
</span>
278278
<span className="agent-prompt-terminal-title">
279-
{skill ? `Running ${skill}` : "Terminal"}
279+
{skill ? `Agent running ${skill}` : "Terminal"}
280280
</span>
281281
{!hasCode ? (
282282
<button

apps/docs/content/docs/(index)/getting-started.mdx

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
---
22
title: Choose a setup path
3-
description: Choose the fastest path to start using Prisma ORM or Prisma Postgres in a new or existing project.
3+
description: Choose the fastest path to start using Prisma ORM, Prisma Postgres, or Prisma Compute in a new or existing TypeScript project.
44
url: /getting-started
55
metaTitle: Prisma getting started
6-
metaDescription: Choose a Prisma quickstart for new or existing projects and get from schema to first query quickly.
6+
metaDescription: Choose the fastest path to start using Prisma ORM, Prisma Postgres, or Prisma Compute in a new or existing TypeScript project.
77
---
88

9-
Prisma gives you a few good starting points depending on whether you need a database, already have one, or want the smallest possible local setup.
9+
Prisma gives you a few starting points depending on what you want to do first: deploy an app, create a database, use Prisma ORM locally, or add Prisma to an existing project.
1010

1111
## Choose your path
1212

13+
### Deploy a full-stack app with a database
14+
15+
Use this path if you want to deploy a TypeScript app with Prisma Compute and run it alongside Prisma Postgres.
16+
17+
- [Deploy your first app](/prisma-compute/deploy) on [Prisma Compute](/compute), currently in Public Beta, to run it next to your Prisma Postgres database
18+
1319
### Start a new project
1420

21+
Use this path if you are creating a new app and want to set up Prisma from the beginning.
22+
1523
- [Quickstart with Prisma Postgres](/prisma-orm/quickstart/prisma-postgres) for the fastest end-to-end path with a managed PostgreSQL database
1624
- [Quickstart with PostgreSQL](/prisma-orm/quickstart/postgresql) if you want to work with PostgreSQL
1725
- [Quickstart with SQLite](/prisma-orm/quickstart/sqlite) for a lightweight local setup
@@ -20,6 +28,8 @@ Prisma gives you a few good starting points depending on whether you need a data
2028

2129
### Add Prisma to an existing project
2230

31+
Use this path if you already have an application or database and want to add Prisma ORM.
32+
2333
- [Add Prisma ORM to an existing PostgreSQL project](/prisma-orm/add-to-existing-project/postgresql)
2434
- [Add Prisma ORM to an existing MySQL project](/prisma-orm/add-to-existing-project/mysql)
2535
- [Add Prisma ORM to an existing SQLite project](/prisma-orm/add-to-existing-project/sqlite)
@@ -28,12 +38,22 @@ Prisma gives you a few good starting points depending on whether you need a data
2838

2939
## What you will do
3040

31-
No matter which guide you choose, the flow is usually the same:
41+
Most Prisma ORM and Prisma Postgres guides follow the same basic flow:
3242

3343
1. Define a database connection and data model in your [Prisma schema](/orm/prisma-schema/overview).
34-
2. Install Prisma CLI and [Prisma Client](/orm/prisma-client).
35-
3. Run `prisma generate` to create a type-safe client for your schema.
36-
4. Create or introspect your database, then start sending queries from your application.
44+
2. Set up your database, either with [Prisma Postgres](/postgres) or another supported database.
45+
3. Install Prisma CLI and [Prisma Client](/orm/prisma-client).
46+
4. Run `prisma generate` to create a type-safe client for your schema.
47+
5. Create or introspect your database.
48+
6. Start sending queries from your application.
49+
50+
Then you can deploy your app to [Prisma Compute](/compute). The flow is:
51+
52+
1. Sign in with `npx @prisma/cli@latest auth login`.
53+
2. Run `npx @prisma/cli@latest app deploy` from your app directory to get a live URL.
54+
3. Connect your app to [Prisma Postgres](/postgres) or another database with [environment variables](/compute/environment-variables).
55+
4. Redeploy to apply the environment variables.
56+
5. Keep deploying from the CLI, or [connect GitHub](/compute/github) to deploy on push.
3757

3858
## Next steps
3959

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,60 @@
11
---
22
title: Introduction to Prisma
3-
description: Build data-driven applications with ease using Prisma ORM and Prisma Postgres
3+
description: Build, deploy, and iterate on TypeScript applications with Prisma ORM, Prisma Postgres, and Prisma Compute.
44
url: /
55
metaTitle: Get started with Prisma
6-
metaDescription: 'Build data-driven applications with ease using Prisma ORM, add connection pooling with Prisma Postgres.'
6+
metaDescription: "Build, deploy, and iterate on TypeScript applications with Prisma ORM, Prisma Postgres, and Prisma Compute."
77
---
8+
89
[**Prisma ORM**](/orm) is an open-source ORM that provides fast, type-safe access to Postgres, MySQL, SQLite, and other databases, and runs smoothly across Node.js, Bun, and Deno.
910

1011
```npm
11-
npx prisma init
12+
npx prisma@latest init
1213
```
1314

14-
1515
[**Prisma Postgres**](/postgres) is a fully managed PostgreSQL database that scales to zero, integrates with [Prisma ORM](/orm) and [Prisma Studio](/studio), and includes a [generous free tier](https://www.prisma.io/pricing).
1616

1717
```npm
18-
npx create-db
18+
npx create-db@latest
1919
```
2020

21+
[**Prisma Compute**](/compute) is TypeScript app hosting for running your app next to your Prisma Postgres database. It is currently in [Public Beta](/console/more/feature-maturity#public-beta). Deploy Next.js, Hono, TanStack Start, and Bun apps, with an isolated preview for every branch.
22+
23+
```npm
24+
npx @prisma/cli@latest app deploy
25+
```
2126

2227
<Cards>
23-
<Card href="/prisma-orm/quickstart/prisma-postgres" title="Use Prisma Postgres" icon={<div className="text-primary"><svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="159" height="195" viewBox="0 0 640 640" fill="none"><path d="M355.2 85C348.2 72.1 334.7 64 320 64C305.3 64 291.8 72.1 284.8 85L209.7 224L430.2 224L355.1 85zM123.3 384L516.6 384L456.1 272L183.7 272L123.2 384zM97.4 432L68.8 485C62.1 497.4 62.4 512.4 69.6 524.5C76.8 536.6 89.9 544 104 544L536 544C550.1 544 563.1 536.6 570.4 524.5C577.7 512.4 577.9 497.4 571.2 485L542.6 432L97.4 432z" fill="currentColor"/></svg></div>
24-
}>
25-
**Need a database?** Get started with your favorite framework and Prisma Postgres.
28+
<Card
29+
href="/prisma-compute/deploy"
30+
title="Use Prisma Compute"
31+
icon={<Rocket className="text-primary" />}
32+
>
33+
Deploy and run your TypeScript app next to your database, with a live
34+
preview for every branch.
2635
</Card>
27-
<Card href="/prisma-postgres/quickstart/prisma-orm" title="Bring your own database" icon={<Database className="text-primary" />}>
28-
**Already have a database?** Use Prisma ORM for a type-safe developer experience and automated migrations.
36+
<Card
37+
href="/prisma-orm/quickstart/prisma-postgres"
38+
title="Use Prisma Postgres"
39+
icon={
40+
<div className="text-primary">
41+
<svg
42+
aria-hidden="true"
43+
xmlns="http://www.w3.org/2000/svg"
44+
width="159"
45+
height="195"
46+
viewBox="0 0 640 640"
47+
fill="none"
48+
>
49+
<path
50+
d="M355.2 85C348.2 72.1 334.7 64 320 64C305.3 64 291.8 72.1 284.8 85L209.7 224L430.2 224L355.1 85zM123.3 384L516.6 384L456.1 272L183.7 272L123.2 384zM97.4 432L68.8 485C62.1 497.4 62.4 512.4 69.6 524.5C76.8 536.6 89.9 544 104 544L536 544C550.1 544 563.1 536.6 570.4 524.5C577.7 512.4 577.9 497.4 571.2 485L542.6 432L97.4 432z"
51+
fill="currentColor"
52+
/>
53+
</svg>
54+
</div>
55+
}
56+
>
57+
Get started with your favorite framework and Prisma Postgres as the
58+
database.
2959
</Card>
3060
</Cards>

apps/docs/content/docs/(index)/meta.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"---Prisma ORM---",
99
"...prisma-orm",
1010
"---Prisma Postgres---",
11-
"...prisma-postgres"
11+
"...prisma-postgres",
12+
"---Prisma Compute---",
13+
"...prisma-compute"
1214
]
1315
}

0 commit comments

Comments
 (0)