skills/vercel-cli/references/integrations.md
Integrations are third-party services provisioned through the Vercel Marketplace and automatically connected to your project via environment variables. Categories include: AI, Agents, Analytics, Authentication, CMS, Code Review, Code Security, Commerce, DevTools, Experimentation, Flags, Logging, Messaging, Monitoring, Observability, Payments, Productivity, Searching, Security, Storage, Support Agent, Testing, Video, Web Automation, and Workflow.
vercel integration addvercel integration addThe key benefit: integrations automatically provision the resource AND inject the right environment variables into your project. No manual env var setup needed.
When in doubt about flags or subcommands, use --help:
vercel integration -h # list subcommands
vercel integration add -h # flags for add
vercel ir -h # integration-resource subcommands
vercel integration discover # list all marketplace integrations
vercel integration discover --format=json # as JSON
vercel integration add <slug> # install and provision
vercel integration add <slug>/<product> # specific product (multi-product integrations)
vercel integration add <slug> --name my-db # custom resource name
The CLI prompts for product selection when multiple products exist and no /<product> slug is given (errors in non-TTY — specify the product slug). Billing plan uses --plan or server default (no prompt). Metadata uses -m flags or server defaults (no prompt). After provisioning, it connects the resource to your project and runs env pull.
vercel install <slug> (or vercel i <slug>) is an alias — behaves identically.
Browser fallback: The CLI may open a browser in two cases: (1) first-time install requiring terms acceptance — the CLI polls and resumes automatically once the user accepts, so do not kill the process; and (2) non-provisionable integrations — the CLI exits with code 1, inform the user they need to finish in the browser.
vercel integration add <slug> -e production # specific environment
vercel integration add <slug> -e production -e preview # multiple (repeatable)
Defaults to all environments (production, preview, development).
Some integrations require configuration during provisioning (e.g., region, database version):
vercel integration add <slug> -m region=us-east-1
vercel integration add <slug> -m region=us-east-1 -m version=16
vercel integration add <slug> --plan <plan-id> # specific billing plan
vercel integration add <slug> -p <plan-id> # shorthand
vercel integration add <slug> --no-connect # skip connecting to project (also skips env pull)
vercel integration add <slug> --no-env-pull # skip env pull only
vercel integration add <slug> --prefix NEON2_ # prefix env var names (e.g., NEON2_DATABASE_URL)
vercel integration add <slug> --installation-id <id> # use specific installation (multi-installation)
vercel integration add <slug> --format=json # output as JSON
Alias: vercel integration ls
vercel integration list # resources for linked project
vercel integration list --all # all resources across the team
vercel integration list -i <slug> # filter by integration
vercel integration list <project> # resources for a specific project
vercel integration list --format=json # as JSON
vercel integration open <integration> # open integration dashboard (SSO)
vercel integration open <integration> <resource> # open specific resource dashboard
vercel integration open <integration> --format=json # get SSO link as JSON
Use vercel integration-resource (alias: vercel ir):
vercel ir disconnect <resource> # disconnect from current project
vercel ir disconnect <resource> <project> # disconnect from specific project
vercel ir disconnect <resource> --all # disconnect from all projects
vercel ir disconnect <resource> --yes # skip confirmation
Disconnecting removes environment variables from the project but does not delete the resource.
Note: --format=json requires --yes on destructive commands (ir disconnect, ir remove, integration remove) — the CLI rejects JSON output with interactive prompts.
Only applies to integrations with prepayment-type billing plans. Returns "no balance info available" for integrations without prepayment billing.
vercel integration balance <slug> # show balance and thresholds
vercel integration balance <slug> --format=json # as JSON
vercel ir create-threshold <resource> <minimum> <spend> <limit>
vercel ir create-threshold <resource> <minimum> <spend> <limit> --yes # skip confirmation
Threshold parameters (dollar amounts, e.g., 50 100 500):
Works for both resource-level and installation-level thresholds (CLI auto-detects).
vercel integration guide <slug> # show setup guide
vercel integration guide <slug> --framework nextjs # framework-specific (-f shorthand)
vercel integration guide <slug>/<product> # specific product
After installing, pull credentials to .env.local:
vercel env pull # pulls to .env.local
This runs automatically after vercel integration add (unless --no-env-pull).
Alias: vercel ir rm
vercel ir remove <resource> # delete (must not be connected)
vercel ir remove <resource> --disconnect-all # disconnect all projects, then delete
vercel ir remove <resource> --disconnect-all --yes # skip confirmation
This permanently deletes the resource from the provider. Cannot be undone.
vercel integration remove <slug> # uninstall (all resources must be deleted first)
vercel integration remove <slug> --yes # skip confirmation
vercel integration list --all -i <slug> # find all resources
vercel ir remove <resource-1> --disconnect-all --yes # delete each resource
vercel ir remove <resource-2> --disconnect-all --yes
vercel integration remove <slug> --yes # then uninstall