![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_coKBVWCXNjJnCEth1zzKoF1j%2Fimages%2F7c180ed96046847c163b3c5ddb086beff581cb84.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_coKBVWCXNjJnCEth1zzKoF1j%2Fimages%2Fe6ca1bc7efc85ac6a61bc9c68adba64b88fa8cce.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_coKBVWCXNjJnCEth1zzKoF1j%2Fimages%2F48781c8b7a23799cec469feaf9e4c981f7c181a6.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_coKBVWCXNjJnCEth1zzKoF1j%2Fimages%2F1f94e464334b32899c9fe3abe273987e4341210f.png&w=3840&q=75)
![](/_next/image?url=https%3A%2F%2Fvercel.com%2Fapi%2Fv1%2Fintegrations%2Fassets%2Foac_coKBVWCXNjJnCEth1zzKoF1j%2Fimages%2F9267ba45cbbcfb2427be188ff8008e9eae211433.png&w=3840&q=75)
Overview
TiDB Cloud offers TiDB Serverless built for modern application development. TiDB Serverless is a fully-managed, autonomous DBaaS with split-second cluster provisioning and consumption-based pricing.
TiDB Serverless frees you from database frustration and manual tasks, such as sharding. Give your apps a powerful, distributed platform, such as:
- Storage, transactional, and analytical workloads elastically scale up or down in seconds to meet your application demands.
- Delivers and maintains an optimized deployment of TiDB without worrying about server provisioning.
- Familiar SQL Interface, MySQL Compatible, with Vector.
- Powerful AI-Enhanced Analytics.
- Database Branching, same way as branching code.
Developers can get up to 5 non-stop free clusters.
Instructions
This integration will allow you to connect an existing TiDB Serverless cluster to your Vercel project(s).
After you have completed the integration setup and successfully connected a TiDB Serverless cluster to your Vercel project(s), the information necessary to connect the TiDB Serverless cluster is set in the projects' environment variables.
Environment Variables
General
TIDB_HOSTTIDB_PORTTIDB_USERTIDB_PASSWORDTIDB_DATABASE
Prisma
DATABASE_URL
TiDB Cloud Serverless Driver
DATABASE_URL