Postgres re-engineered for B2B
Nile re-engineers Postgres to build multi-tenant applications quickly and securely with limitless scale. Integrate Nile with Vercel to effortlessly connect your site to a scalable, serverless PostgreSQL backend designed for multi-tenant apps.
Start by connecting to your existing project and then run vercel link in the CLI to link to the project locally.
Run vercel env pull .env.development.local to make the latest environment variables available to your project locally.
npm install @niledatabase/server @niledatabase/reactNileServer, setting it to use secure cookies when deployed on Vercel:const _nile = await NileServer({ secureCookies: process.env.VERCEL === "1",});Learn more from Nile's NextJS quickstart or SDK documentation.
1️⃣ Install Nile Integration: Add the Nile extension to your Vercel account and create as many databases as you'd like
2️⃣ Connect each database to a project: This will automatically configure the project with all the environment variables you'll need to use the database.
3️⃣ Deploy Your App: Start building your multi-tenant SaaS application with ease.
Start by trying one of our templates - all our NextJS examples can be deployed on Vercel by just cloning and clicking.
This integration offers additional features for Pro and Enterprise plans.