Skip to content
Dashboard

MongoDB Atlas is now available on the Vercel Marketplace

Product Manager

Link to headingShip faster with a unified workflow

We’re excited to partner with MongoDB to bring Atlas into the Vercel Marketplace. By combining MongoDB’s flexible data platform with Vercel’s focus on developer experience, we’re giving our joint community a faster path to build and scale intelligent applications on the AI Cloud.
Tom Occhino Chief Product Officer at Vercel
Vercel powers many of the best experiences on the web, with an exceptional focus on developer experience from open source to their AI Cloud. We are thrilled to be launching onto the Vercel Marketplace, supercharging our joint community with the power of MongoDB's flexible document model with integrated search and vector search.
Andrew Davidson SVP Products at MongoDB
mongodb.ts
import { MongoClient, MongoClientOptions } from 'mongodb';
import { attachDatabasePool } from '@vercel/functions';
const options: MongoClientOptions = {
appName: "devrel.vercel.integration",
maxIdleTimeMS: 5000
};
const client = new MongoClient(process.env.MONGODB_URI, options);
// Attach the client to ensure proper cleanup on function suspension
attachDatabasePool(client);
// Export a module-scoped MongoClient to ensure the client can be shared across functions.
export default client;

Link to headingGet started with MongoDB Atlas on Vercel

Ready to deploy?