Only admins can add, edit or remove data sources. Members use the data sources an admin opened to
them.
Supported data sources
Add a data source
1
Open Data sources
Select Data sources in the sidebar, then Add data source. You can also press
S anywhere in the app. Only admins see Data sources in the sidebar.
2
Pick a type
Choose PostgreSQL, Supabase, MySQL, Snowflake, Databricks or Google BigQuery.
3
Fill in the connection
Enter the details for your type. See Per-type setup below. The Name is
how the data source appears in Matys.
4
Test the connection
Select Test connection. Matys connects and shows Connected or Connection failed with
the reason.
5
Choose what Matys may read
Once connected, you can limit Matys to some schemas or datasets. See Limit what Matys can
read.
6
Save
Select Add data source. The button stays disabled until the test passes.
Your plan can limit how many data sources you can add. See Billing.
Per-type setup
- PostgreSQL
- Supabase
- MySQL
- Snowflake
- Databricks
- BigQuery
Paste a Connection URL (Optional) such as
postgres://user:password@host:port/database. Matys fills in the fields below from it.Or fill in the fields yourself: Database name, Host, Port, Username and Password.Set up SSL below the fields.SSL
PostgreSQL, Supabase and MySQL connections have two switches:- SSL Connection: encrypt the connection. It is on by default.
- Verify certificate: check the server’s certificate. It is off by default.
.pem, .crt or .cer).
On PostgreSQL and Supabase, a connection URL with an sslmode sets these switches for you. disable turns SSL off. verify-ca and verify-full turn on certificate verification. Any other value keeps SSL on without verification.
On MySQL, a connection URL turns SSL on only when it has ssl=true or sslmode=require. Otherwise it turns SSL off, so check the switch after you paste the URL.
Allow Matys’s IP addresses
The form shows a Whitelist IPs box with the addresses Matys connects from. If your database only accepts connections from known IP addresses, select the copy button and add them to your database’s allowlist.The Whitelist IPs box is not shown in every environment. If you don’t see it, contact the
Matys team for the addresses.
Limit what Matys can read
After a successful test, turn on Limit to specific schemas (or Limit to specific datasets on BigQuery) and tick the ones Matys may read. Select at least one. When the switch is off, Matys can read all schemas or datasets, including ones you create later. You can limit:- schemas on PostgreSQL, Supabase, Snowflake and Databricks
- datasets on BigQuery
Choose who can use a data source
Each data source has an audience. Admins can use every data source.1
Open the settings
Go to Settings, then Data sources. Each data source shows its audience: Everyone or
Specific groups.
2
Edit access
Select the audience next to a data source. Choose Everyone in org or Specific groups.
3
Pick groups
With Specific groups, add the groups whose members may use it. Leave the list empty to keep
it for admins only.
4
Save
Select Save. Matys only queries the data sources the person asking can use.
Edit a data source
On the Data sources page, select the pencil next to a data source. Change what you need and select Save changes. Matys keeps your password, token or key when you leave its field empty. If you change the host or port of a PostgreSQL, Supabase or MySQL connection, enter the password again. If you change connection details, test the connection again before you save.Remove a data source
On the Data sources page, select the trash icon next to a data source and confirm. This can’t be undone.Try Matys with sample data
No access to a database yet? Add the demo data source:- On the empty Data sources page, select Demo data source.
- In the Add a data source dialog, select I don’t have access to a data source.
- On the chat banner, select Try with demo data.
Teach Matys your business
Explain your metrics and tables so answers match how your team works.
Connect your tools
Bring in GitHub, Metabase and the apps your team uses.