Skip to main content

Relational Databases

Overview​

This guide walks you through integrating Prisma ORM into an existing Node.js or TypeScript project. You'll learn how to:

tip

Migrating from another ORM? Check out our dedicated guides for TypeORM and Sequelize.

Prerequisites​

Before you begin, ensure you have:

πŸ“Œ You'll need your database connection URL, including credentials.

πŸ’‘ Don’t have a database yet? Try our Quickstart guide with SQLite to explore Prisma ORM.

Step 1: Set Up Prisma​

  1. Open your terminal and navigate to the project directory containing your package.json.

  2. Install Prisma CLI as a development dependency:

npm install prisma --save-dev