diff --git a/content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx b/content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx index 52c8461fb9..bb43aeb438 100644 --- a/content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx +++ b/content/100-getting-started/03-prisma-postgres/115-import-from-existing-database-mysql.mdx @@ -41,11 +41,11 @@ Follow these steps to create a new Prisma Postgres database: Once your database was provisioned, find your direct Prisma Postgres connection string: -1. Navigate to your active Prisma Postgres instance. -1. Click the **API Keys** tab in the project's sidenav. -1. Click the **Create API key** button. -1. In the popup, provide a **Name** for the API key and click **Create**. -1. Copy the connection string starting with `postgres://`, this is your direct connection string. +1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) +1. Navigate to a environment with an active Prisma Postgres instance +1. Click the **Dashboard** tab in the project's sidenav +1. Find the **Connect to your database** card and click the **Connect** button +1. Copy the connection string starting with `postgres://`, this is your direct connection string Save the connection string, you'll need it in the next step. diff --git a/content/200-orm/500-reference/325-prisma-config-reference.mdx b/content/200-orm/500-reference/325-prisma-config-reference.mdx index f8bffe5d73..904f8f516f 100644 --- a/content/200-orm/500-reference/325-prisma-config-reference.mdx +++ b/content/200-orm/500-reference/325-prisma-config-reference.mdx @@ -486,4 +486,4 @@ You can specify a custom location for your config file when running Prisma CLI c ```terminal prisma validate --config ./path/to/myconfig.ts -``` +``` \ No newline at end of file diff --git a/content/200-orm/800-more/350-ai-tools/100-cursor.mdx b/content/200-orm/800-more/350-ai-tools/100-cursor.mdx index 9d8275a356..f2d6c6a49f 100644 --- a/content/200-orm/800-more/350-ai-tools/100-cursor.mdx +++ b/content/200-orm/800-more/350-ai-tools/100-cursor.mdx @@ -528,7 +528,7 @@ With its built-in database management interface, the [Prisma VS Code extension]( The UI enables the following workflows: -- Authenticate with the [Prisma Console](https://console.prisma.io) +- Authenticate with the [Prisma Console](https://console.prisma.io) (not required for local Prisma Postgres workflows) - View, create and delete Prisma Postgres instances (local & remote) - "Push to cloud": Easily deploy a local Prisma Postgres instance - View and edit data via an embedded Prisma Studio diff --git a/content/200-orm/800-more/350-ai-tools/200-tabnine.mdx b/content/200-orm/800-more/350-ai-tools/200-tabnine.mdx index 63c470a872..af2e38a5d6 100644 --- a/content/200-orm/800-more/350-ai-tools/200-tabnine.mdx +++ b/content/200-orm/800-more/350-ai-tools/200-tabnine.mdx @@ -465,7 +465,7 @@ With its built-in database management interface, the [Prisma VS Code extension]( The UI enables the following workflows: -- Authenticate with the [Prisma Console](https://console.prisma.io) +- Authenticate with the [Prisma Console](https://console.prisma.io) (not required for local Prisma Postgres workflows) - View, create and delete Prisma Postgres instances (local & remote) - "Push to cloud": Easily deploy a local Prisma Postgres instance - View and edit data via an embedded Prisma Studio diff --git a/content/200-orm/800-more/350-ai-tools/300-windsurf.mdx b/content/200-orm/800-more/350-ai-tools/300-windsurf.mdx index b312ff8758..1ae8c08775 100644 --- a/content/200-orm/800-more/350-ai-tools/300-windsurf.mdx +++ b/content/200-orm/800-more/350-ai-tools/300-windsurf.mdx @@ -552,7 +552,7 @@ With its built-in database management interface, [the Prisma VS Code extension]( The UI enables the following workflows: -- Authenticate with the [Prisma Console](https://console.prisma.io) +- Authenticate with the [Prisma Console](https://console.prisma.io) (not required for local Prisma Postgres workflows) - View, create and delete Prisma Postgres instances (local & remote) - "Push to cloud": Easily deploy a local Prisma Postgres instance - View and edit data via an embedded Prisma Studio diff --git a/content/250-postgres/100-introduction/200-getting-started.mdx b/content/250-postgres/100-introduction/200-getting-started.mdx index c9a59e48b3..c190dbba22 100644 --- a/content/250-postgres/100-introduction/200-getting-started.mdx +++ b/content/250-postgres/100-introduction/200-getting-started.mdx @@ -54,12 +54,11 @@ prisma generate --no-engine You can access Prisma Postgres with any ORM or database tool of your choice via [direct TCP connections](/postgres/database/direct-connections). In order to get a direct TCP connection string, you need to: -1. open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) -1. navigate to a environment with an active Prisma Postgres instance -1. click the **API Keys** tab in the project's sidenav -1. click the **Create API key** button -1. in the popup, provide a **Name** for the API key and click **Create** -1. copy the connection string starting with `postgres://`, this is your direct TCP connection string +1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) +1. Navigate to a environment with an active Prisma Postgres instance +1. Click the **Dashboard** tab in the project's sidenav +1. Find the **Connect to your database** card and click the **Connect** button +1. Copy the connection string starting with `postgres://`, this is your direct connection string Once you have the connection string, you can follow the setup docs for PostgreSQL of any ORM or database tool: diff --git a/content/250-postgres/100-introduction/250-overview.mdx b/content/250-postgres/100-introduction/250-overview.mdx index 6ba64123e0..e0dcda86a1 100644 --- a/content/250-postgres/100-introduction/250-overview.mdx +++ b/content/250-postgres/100-introduction/250-overview.mdx @@ -11,8 +11,19 @@ toc: true It supports the following workflows: -- Schema migrations and queries (via [Prisma ORM](https://www.prisma.io/orm)) +- Schema migrations and queries (via [Prisma ORM](https://www.prisma.io/orm) or any other ORM/database library) - Connection pooling and caching (via [Prisma Accelerate](https://www.prisma.io/accelerate)) +- Local database workflows via [`prisma dev`](/postgres/database/local-development) + +## Usage metrics + +You can view the following usage metrics in your Console Dashboard: + +- Cumulative usage over time +- Total count of requests +- Storage used per project in your workspace +- Operations used per day +- Databases per project ## Billing diff --git a/content/250-postgres/1100-integrations/500-vscode.mdx b/content/250-postgres/1100-integrations/500-vscode.mdx index 618e4731b9..b6f1b972fe 100644 --- a/content/250-postgres/1100-integrations/500-vscode.mdx +++ b/content/250-postgres/1100-integrations/500-vscode.mdx @@ -19,7 +19,7 @@ The Prisma VS Code extension includes a dedicated UI to manage Prisma Postgres i The UI enables the following workflows: -- Authenticate with the [Prisma Console](https://console.prisma.io) +- Authenticate with the [Prisma Console](https://console.prisma.io) (not required for local Prisma Postgres workflows) - View, create and delete Prisma Postgres instances (local & remote) - "Push to cloud": Easily deploy a local Prisma Postgres instance - View and edit data via an embedded Prisma Studio diff --git a/content/250-postgres/300-database/650-direct-connections.mdx b/content/250-postgres/300-database/650-direct-connections.mdx index 744cbabcfb..fc3d7a6300 100644 --- a/content/250-postgres/300-database/650-direct-connections.mdx +++ b/content/250-postgres/300-database/650-direct-connections.mdx @@ -4,7 +4,6 @@ metaTitle: "Direct connections (TCP)" metaDescription: "Learn about connecting directly to your Prisma Postgres database via direct TCP." tocDepth: 3 toc: true -sidebar_class_name: preview-badge --- ## Overview @@ -19,9 +18,8 @@ In order to get a direct connection string, you need to: 1. Open a project in your [Prisma Console](https://console.prisma.io) account (or create a new one) 1. Navigate to a environment with an active Prisma Postgres instance -1. Click the **API Keys** tab in the project's sidenav -1. Click the **Create API key** button -1. In the popup, provide a **Name** for the API key and click **Create** +1. Click the **Dashboard** tab in the project's sidenav +1. Find the **Connect to your database** card and click the **Connect** button 1. Copy the connection string starting with `postgres://`, this is your direct connection string ## Connection string