---
title: 'Getting started'
metaTitle: 'Getting started with Prisma Postgres'
metaDescription: 'Learn how to quickly set up and start using Prisma Postgres.'
tocDepth: 3
toc: true
---

## Quickstart

To **bootstrap a new Prisma ORM project with a Prisma Postgres database**, run the following command in your terminal:

```terminal
npx prisma init --db
```

After running this command, the terminal will guide you with next steps. Follow [this page](/getting-started/prisma-postgres/from-the-cli) to complete the setup for your first Prisma Postgres project.

If you need a database quickly for testing, or want to try out Prisma Postgres, you can run the following command to spin up a temporary 24-hour database: 

```terminal
npx create-db@latest
```

You can learn more about `npx create-db` in [the dedicated documentation](/postgres/introduction/npx-create-db).

## Prisma ORM

The easiest ways to get started with Prisma Postgres is by following these guides:

- [**Start from scratch**](/getting-started/prisma-postgres/quickstart/prisma-orm)
- [**Import data from an existing database**](/getting-started/prisma-postgres/import-from-existing-database-postgresql)

If you are looking to explore Prisma Postgres in a fullstack project, check out these resources:

- [**Build a fullstack app with Next.js 16**](/guides/nextjs)
- [**Next.js 16 example app**](https://github.com/prisma/nextjs-prisma-postgres-demo) (including authentication)

## Connect via any database library / tool

You can access Prisma Postgres with any ORM or database tool of your choice. Once you have the connection string, you can follow the setup docs for PostgreSQL of any ORM or database tool:

- [Drizzle ORM](https://orm.drizzle.team/docs/get-started/postgresql-new)
- [Kysely](https://kysely.dev/docs/getting-started)
- [TypeORM](https://typeorm.io/#installation)
- [Sequelize](https://sequelize.org/docs/v6/getting-started/)
- [MikroORM](https://mikro-orm.io/docs/quick-start)
- [node-postgres](https://node-postgres.com/)

## In this section

You can either start with a fresh Prisma Postgres project or import data from an existing database to Prisma Postgres.

<Subsections />
