Getting Started (/docs/console/getting-started)
For the complete Prisma documentation index, see llms.txt. A markdown version of any docs page is available by appending
.mdto its URL.
Quick start guide for setting up and using the Prisma Console
Location: Console > Getting Started
This guide walks you through setting up your Console account and creating your first project.
Prerequisites
Section titled “Prerequisites”- A GitHub account (for authentication)
- A Prisma project (optional, but recommended)
Step 1: Create your account
Section titled “Step 1: Create your account”- Go to console.prisma.io/login
- Click Sign in with GitHub
- Authorize Prisma Console to access your GitHub account
You now have a Console account with a default workspace.
Step 2: Set up a workspace
Section titled “Step 2: Set up a workspace”When you create an account, a default workspace is automatically created for you. You can create additional workspaces for different teams or organizations.
Create a workspace (optional)
Section titled “Create a workspace (optional)”To create an additional workspace:
- Click the workspace dropdown in the top navigation
- Click Create Workspace
- Enter a name for your workspace
- Click Create
Step 3: Create a project
Section titled “Step 3: Create a project”Projects organize your databases and environments within a workspace.
Using the Console web interface
Section titled “Using the Console web interface”- Navigate to your workspace
- Click Create Project
- Enter a project name
- Click Create
Step 4: Create a resource
Section titled “Step 4: Create a resource”Resources are the actual databases or environments within your project.
For Prisma Postgres
Section titled “For Prisma Postgres”- Navigate to your project
- Click Create Database
- Enter a database name
- Select a region
- Click Create
For Accelerate
Section titled “For Accelerate”[!WARNING] Accelerate retirement
Prisma Accelerate will be retired on December 1, 2026, so new Accelerate environments are not recommended. Create a Prisma Postgres database instead, as described above. If you already run Accelerate, choose the path that matches your setup:
- Navigate to your project
- Click Create Environment
- Enter an environment name (e.g., "production")
- Click Create
Step 5: Generate a connection string
Section titled “Step 5: Generate a connection string”Connection strings authenticate your application's requests to Prisma products.
Using the Console web interface
Section titled “Using the Console web interface”- Navigate to your resource (database or environment)
- Click Connection Strings tab
- Click Create Connection String
- Enter a name for the connection string
- Copy the connection string and store it securely
- Click Done
Step 6: Use the connection string in your application
Section titled “Step 6: Use the connection string in your application”Add the connection string to your .env file. For Prisma Postgres, use the pooled connection string for application queries and the direct connection string for migrations, introspection and Prisma Studio:
# Application traffic over pooled TCP
DATABASE_URL="postgres://USER:PASSWORD@pooled.db.prisma.io:5432/postgres?sslmode=require"
# Prisma CLI commands and administrative tooling
DIRECT_URL="postgres://USER:PASSWORD@db.prisma.io:5432/postgres?sslmode=require"In a Node.js runtime, pass the pooled connection string to Prisma Client through the @prisma/adapter-pg driver adapter. In an edge or TCP-constrained runtime, use the Prisma Postgres serverless driver with the direct connection string instead.
[!WARNING] Accelerate retirement
Prisma Accelerate will be retired on December 1, 2026. This covers both the Accelerate environments from Step 4, which use
prisma://accelerate.prisma-data.net/?api_key=YOUR_API_KEYconnection strings, and hosted Accelerate connections for Prisma Postgres, which useprisma+postgres://accelerate.prisma-data.net/?api_key=YOUR_API_KEY. Choose the path that matches your setup:
Next steps
Section titled “Next steps”- Learn more about Console concepts
- Explore database metrics
- Check out the CLI reference
Related pages
Section titled “Related pages”Concepts: Understand the core concepts of the Prisma Console: user accounts, workspaces, projects, and resources