Fly poostgres with vercel app

I was looking into fly to use their free postgres database for dev of a simple projects. However I can’t seem to figure out how to connect to postgres from Vercel. I need to open connections from all IPs as Vercel uses lambdas so IPs change. And then fly isn’t giving me connection details, it just allows connection through the CLI flyctl it seems. Is it possible to use fly postgres from vercel hosted app?