Integrate Vercel with Astra DB Serverless
Vercel can use Astra DB Serverless to store and retrieve vectors for your frontend applications. This tutorial shows you how to integrate Astra DB Serverless with Vercel.
The DataStax Astra DB integration is available in the Vercel Integrations Marketplace.
Prerequisites
The steps on this page assume the following:
-
You have an active Astra account.
-
You have an active Vercel account.
-
You have created a Serverless (Vector) database.
-
You have created an application token with the Database Administrator role.
Add the Vercel integration
You can add the Vercel integration with the Astra Portal.
-
Open the Astra Portal, and then switch to the organization that you want to use with this integration.
-
Go to Settings > Integrations.
-
In the All Integrations section, select the Vercel integration.
You are redirected to vercel.com in a new tab to complete the integration. Once the integration is installed, you are returned to the Astra Portal.
-
Refresh the page. If the installation succeeded, Vercel will appear in the Active section.
Manage Astra’s access to Vercel
After you add the integration, Astra is granted access to Vercel. You can view and manage this access using the Vercel Dashboard.
-
In the Vercel Dashboard, open your Vercel project.
-
Select Settings > Integrations.
-
To manage the Astra integration, select Configure to view the integration details:
-
Go to the Permissions section to see the permissions the integration has. For more on Vercel permissions, see the Vercel documentation.
-
Go to the Access section to see which Vercel projects the integration can access. You can have multiple projects in your Vercel team integrated with the same Astra database.
-
Select Manage Access to change which projects the integration has access to.
-
Remove the Vercel integration
To permanently remove the Vercel integration, you must remove it from both the Astra Portal and your Vercel project.
-
Open the Astra Portal, and then switch to the organization with the integration.
-
Go to Settings > Integrations.
-
In the Active section, select the Vercel integration.
-
Click Remove, and then click Remove again to confirm.
-
-
In the Vercel Dashboard, open your Vercel project.
-
Select Settings > Integrations.
-
To remove the Astra integration, select Configure to view the integration details.
-
Click Remove Integration, and then click Remove Integration again to confirm.
-
Your Vercel project no longer has access to your Astra database.