Seed your remote database or test locally using the following Connection String configuration:
If you deploy your app to a serverless environment, you need to use the Connection Pooling configuration:
Otherwise you could get error the following error:
Remaining connection slots are reserved for non-replication superuser connections
I hope this quick guide was useful! Let me know if you have any questions.