apps/docs/content/docs/console/concepts.mdx
The Console workflows are based on four main concepts:
Development, Staging, or Production). Connection strings are provisioned at the resource level, and products are configured per resource as well (e.g., the database connection string used for Accelerate).Here is a visual illustration of how these concepts relate to each other:
A user account is the prerequisite for any interactions with Prisma products. You can use it to manage your workspaces (and their projects). A user account can be invited to collaborate on workspaces created by other users as well.
If you need to delete your user account, go here.
You can create several workspaces. A workspace is an isolated space to host projects. A workspace can have multiple user accounts associated with it so that multiple users can collaborate on the projects in the workspace.
In each workspace, you can:
List all workspaces:
npx prisma platform workspace show --early-access
In each workspace, you can create several projects. A project typically represents an application (a product or service). You typically have one Prisma schema per project.
In each project, you can:
The number of projects you can create in a workspace depends on the subscription plan configured in that workspace.
List all projects in a workspace:
npx prisma platform project show --workspace $WORKSPACE_ID --early-access
Create a new project:
npx prisma platform project create --workspace $WORKSPACE_ID --name "My Project" --early-access
Delete a project:
npx prisma platform project delete --project $PROJECT_ID --early-access
Resources represent the actual services or databases within a project. The type of resources available depends on the Prisma products you're using:
Development, Staging, or Production).In each project, you can:
The number of resources you can create in a project depends on your subscription plan.
List all environments (resources) in a project:
npx prisma platform environment show --project $PROJECT_ID --early-access
Create a new environment:
npx prisma platform environment create --project $PROJECT_ID --name "production" --early-access
Delete an environment:
npx prisma platform environment delete --environment $ENVIRONMENT_ID --early-access