You can now connect native Marketplace resources to custom environments. Previously, resource connections could only target production, preview, and development environments.
Choose custom environments when connecting a resource from the Vercel dashboard, Vercel CLI, or REST API. Vercel scopes the environment variables created by the connection to the selected environments.
For example, from the CLI:
vercel integration add neon --environment stagingExisting deployments do not change. Create a new deployment after connecting a resource or changing its environment scope.
Custom environments are available on Pro and Enterprise plans.
Read the docs for connecting from the dashboard, the CLI --environment flag, and the REST API envVarEnvironments field.