Integrate Vercel with Astra DB Serverless
Vercel can use Astra DB Serverless to store and retrieve vectors for your frontend applications.
This guide explains how to integrate Astra DB Serverless with Vercel as a connectable account.
Prerequisites
-
An active Astra account
-
An active Vercel account
-
An active Serverless (Vector) database
-
An application token with the Database Administrator role
Add the Astra DB Vercel integration
-
Sign in to Vercel account where you want to install the Astra DB integration.
-
Sign in to the Astra Portal, and then, in the Astra Portal header, click settings Settings.
-
In the Settings navigation menu, click the name of the current organization, and then select the organization where you want to use Vercel.
-
In the Settings navigation menu, click Integrations.
-
In the All Integrations section, click Vercel.
If the Vercel integration isn’t available, contact DataStax Support.
-
On the DataStax Astra DB Vercel Marketplace page, add the Astra DB integration to your Vercel account. There are two ways to do this:
-
Click Connect Account to add the integration to your Vercel account without adding it to any projects.
-
Click Deploy to add the integration to your Vercel account and deploy the RAGBot Starter project template.
-
-
In the Astra Portal, refresh the Integrations page. If the installation succeeded, the Vercel integration is marked Active.
Manage Vercel project access to Astra DB
After you add the integration, your Vercel projects can access your Astra DB databases. You can use the same Astra DB database for multiple Vercel projects or you can use different databases for different projects. For more information, see the following Vercel documentation:
Remove the Vercel integration
- Remove project access
-
To remove Astra DB from a project in your Vercel account, see Manage an integration’s project access
- Remove all access
-
To remove all Astra DB access from your Vercel account, do the following:
-
In your Vercel account, uninstall the Astra DB connectable account.
-
In the Astra Portal header, click settings Settings.
-
In the Settings navigation menu, click the name of the current organization, and then select the organization where you want to remove the Vercel integration.
-
In the Settings navigation menu, click Integrations.
-
Click the Vercel integration.
-
Click Remove, and then click Remove again to confirm.
-