N
Neon•2mo ago
ambitious-aqua

Vercel Neon integration, preview deployments

I have setup an integration with Neon and Vercel where I manage all my neon billing through vercel. The integration is managing env variables and I have automatic branching on preview deployments set. The issue: The preview deployments are not getting the new env variables from the preview branch injected, so it just uses the main branch env variables. Also: I had to rotate my main branch database url and can't seem to find where I can reset (re-link, refresh) the integration connection details. Meaning that they are still using the old neon_db password. Any help or linking to resources I can read would be great. Thanks
3 Replies
foreign-sapphire
foreign-sapphire•2mo ago
Hey @Xigh, thanks for reaching out! Let me forward this to our workflow team. Could you create a support ticket also? [?] icon in top-right corner of the navbar on the Neon console within the Vercel-managed account (or support@neon.tech) - please provide your project id (in the URL on the Neon console). Could you also let me know how you tried to rotate your database credentials? Did you do this via Vercel or the Neon console or otherwise?
ambitious-aqua
ambitious-aquaOP•2mo ago
yes np, i'll create a support ticket. To rotate the database credentials I reset the password from the Neon console by clicking on the main database branch -> Roles and Databases -> then under Roles clicking the three dots and reset the password lmk if there's any other information I can provide
foreign-sapphire
foreign-sapphire•2mo ago
Thank you! Forwarding this to the team. I assume we need to either disable this option for Vercel managed projects or make sure to populate the changes to Vercel. Thanks for creating a ticket. Team will be able to help. Ping me if you need anything! 🙏 Hi @Xigh, chatted with the team. We do actually update Vercel when users request to reset the password! So this may be a bug with your project. Could you share the support ticket ID, so I can share it with the right team as well?

Did you find this page helpful?