Skip to content


Select a Template


CockroachDB Serverless is a Postgres-compatible SQL database that lets you start fast, build fast, and scale fast. Combining CockroachDB Serverless with Vercel Serverless Functions enables your entire back end to elastically scale to handle uneven and unpredictable workloads.

This integration lets you connect your app to the database in under a minute without any code or configuration.

Additional Information

This integration allows you to create a new CockroachDB Serverless database cluster and connect it to your Vercel Project. It sets the DATABASE_URL environment variable in the Vercel project(s) that you have selected to the URL of your newly created CockroachDB cluster.

CockroachDB works with many JavaScript and Go drivers and ORMs including node-postgres, Prisma, RedwoodJS, Blitz, Sequelize, TypeORM, Knex.js, and pgx. To learn more, see Third-Party Tools Supported by Cockroach Labs.

To achieve maximum performance, see CockroachDB’s Serverless Function Best Practices.

This integration currently only supports linking up to 50 Vercel Projects to one database. When connecting an organization with more than 50 Vercel Projects, please select up to 50 specific Vercel Projects.