Note: Many connection issues are due to your databases firewall. If you're having trouble connecting, we highly recommend using our web app because you don't need to whitelist any IP addresses to get started.
SeekWell uses JDBC to connect to your database
You'll need to make your database available to Google's IPs, here are the ranges (source). The last IP is an address dedicated to SeekWell on Google's infrastructure that is used for scheduling and Postgres support.
Here's an example of how an AWS security group would look for SQL Server:
You can paste the string below into one box on AWS and it will automatically create the ranges you need:
18.104.22.168/255, 22.214.171.124/255, 126.96.36.199/255, 188.8.131.52/255, 184.108.40.206/255, 220.127.116.11/16,18.104.22.168/255, 22.214.171.124/255, 126.96.36.199/255, 188.8.131.52/255, 184.108.40.206/32, 220.127.116.11/32
If you're not using Google Cloud SQL, you also need to include all the IP's between 0 and 255.
18.104.22.168 - 22.214.171.124
126.96.36.199 - 188.8.131.52
184.108.40.206 - 220.127.116.11
18.104.22.168 - 22.214.171.124
126.96.36.199 - 188.8.131.52
184.108.40.206 - 220.127.116.11
18.104.22.168 - 22.214.171.124
126.96.36.199 - 188.8.131.52
184.108.40.206 - 220.127.116.11
18.104.22.168 - 22.214.171.124
Here's an example with MySQL on AWS:
You may want to create a new user if your database has personal information (e.g. customer names and addresses). You can grant this new user access to just the necessary data
If you are trying to access a local database (i.e. on your computer), check out this Stack Overflow answer