MEM0_API_KEY into your Vercel project, so you can add long-term memory to your AI apps and agents in minutes, with no separate signup and billing handled through Vercel.
This is the managed Marketplace integration. If you instead want to use Mem0 with the Vercel AI SDK in code, see Vercel AI SDK.
Overview
When you install Mem0 from the Vercel Marketplace:- A Mem0 account and project are created for you (Vercel Native).
- Mem0 environment variables (
MEM0_API_KEY,MEM0_ORG_ID,MEM0_PROJECT_ID,MEM0_BASE_URL) are added to your connected Vercel project. - Billing is handled through your Vercel account, with no separate Mem0 subscription.
Install
1
Add the integration
From the Vercel Marketplace, find Mem0 and click Install. Choose Create New Mem0 Account (Vercel Native).
2
Pick a plan
Select Hobby (free) or Starter ($20/month). You can change this anytime from the installation settings in your Vercel dashboard.
3
Connect a project
Connect the Mem0 resource to a Vercel project. Mem0 injects its environment variables into that project.
4
Redeploy
Redeploy so the variables are available at runtime, or run
vercel env pull to use them locally.Environment variables
The integration sets the following on your connected project:
The API key is scoped to your org and project, so the SDK needs only
MEM0_API_KEY to get started.
Quickstart
Install the SDK:Plans and billing
Billing runs through your Vercel account; Mem0 never charges your card directly. You can upgrade or downgrade anytime from the installation’s settings in the Vercel dashboard.
Managing the integration
- Change plan: open the installation in your Vercel dashboard and update the billing plan.
- Open in Mem0: use the Open in Mem0 link to sign in to the Mem0 dashboard for this installation.
- Uninstall: removing the integration deactivates the API key and tears down the resource. Any usage for the current period is invoiced before removal.
Notes
- The integration creates a new Mem0 account for the installation. Linking an existing Mem0 account is not supported yet.
- The injected
MEM0_API_KEYis scoped to the org and project created for this installation, so you do not manage keys by hand.