This database will already be saved for you, so just click Connect to give it a go
Note: Make sure you use the email that you'll be logging into Sheets with (i.e. use your business email if you are a GSuite customer)when you set up your SeekWell account. Our Sheets add-on will automatically check your SeekWell account for your plan type.
If you want to use databases other than MySQL or you're going to exceed the basic tier's limits (e.g. max of 100 rows), please click here to upgrade
After you upgrade, be sure to log out of Google and restart your browser so the changes to your plan can take effect
Accessing your database
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:
188.8.131.52/20, 184.108.40.206/19, 220.127.116.11/20, 18.104.22.168/20, 22.214.171.124/18, 126.96.36.199/16,188.8.131.52/16, 184.108.40.206/20, 220.127.116.11/17, 18.104.22.168/19, 22.214.171.124/32
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 neccassary data
Click on "Run Sheets" (this will add a new sheet called "runSheet")
Put the queries you want to run in the "query" column and specify the sheet (e.g. result1) and cell (e.g. A1) you'd like the results written to
SeekWell will automatically create the sheets you specify if they don't already exist, so you don't need to create them ahead of time
You can also specify paramaters / filters to make your query dynamic.
For example, below we have a column specifying the country to filter results for:
Accessing CSV's, JSON, Excel, and other Google Sheets
If you are querying another Google Sheet, share the Sheet you want to query so SeekWell can find it (You don't need to share the Sheet you are querying from).
After launching SeekWell, click "Skip Database"
Click the "Files / API" button and select the file type (use CSV for other Google Sheets), name the table (i.e. what you want to call the table in your SQL query) and the URL to the file. For other Google Sheets, simply copy and paste the URL you see in your browser. Note that the URL is different for spreadsheets with multiple Sheets.
Click "Done" and the code to pull your table will be inserted into the query editor. For example, if you wanted to query another Google Sheet and you named your table "example", the code to SELECT everything from the new file would look like this: