Custom environment variables for Vercel integrations
I have multiple Postgres clients for multiple Postgres databases in my Vercel service. I can only use one database with Neon preview branches because the names are always the same. Could y'all let us customize the environment variable names?
2 Replies
wise-white•3mo ago
I believe you can do that. Under advanced options, you can define a prefix for environment variables: https://neon.com/docs/guides/vercel-native-integration#connect-a-vercel-project-to-a-neon-database
Neon
Install the Neon Postgres Native Integration on Vercel - Neon Docs
What is the Neon Postgres Native Integration How to install Neon Postgres from the Vercel Marketplace How to manage your integration Neon Postgres Previews Integration Neon plans About the integration...
wise-white•3mo ago
I'll just add that you can use prefixes for environment variables, but I'm not entirely sure if we support this use case of multiple databases with one Vercel project.