Getting Started
Quick start guide for setting up and using the Prisma Console
This guide walks you through setting up your Console account and creating your first project.
Prerequisites
- A GitHub account (for authentication)
- A Prisma project (optional, but recommended)
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
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)
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
Projects organize your databases and environments within a workspace.
Using the Console web interface
- Navigate to your workspace
- Click Create Project
- Enter a project name
- Click Create
Step 4: Create a resource
Resources are the actual databases or environments within your project.
For Prisma Postgres
- Navigate to your project
- Click Create Database
- Enter a database name
- Select a region
- Click Create
For Accelerate
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
Connection strings authenticate your application's requests to Prisma products.
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
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.
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_KEY connection strings, and hosted Accelerate connections for Prisma Postgres, which use prisma+postgres://accelerate.prisma-data.net/?api_key=YOUR_API_KEY. Choose the path that matches your setup:
Next steps
- Learn more about Console concepts
- Explore database metrics
- Check out the CLI reference
