← Docs · Connect your data

Connect a database

Connect PostgreSQL, Supabase, Neon, MySQL, SQL Server, Oracle, BigQuery, Snowflake, Redshift or Athena, directly or through an SSH bastion.

Checked against the app on 2026-12-02

A connection lets queries, dashboards, notebooks and the assistant read a database or warehouse. It belongs to the workspace, so every member can use it. Owners, Admins and Editors add, edit and delete connections.

Before you start

  • The database must be reachable from the internet: Fastero refuses a host with a private or internal address. For a private network, use an SSH bastion (below).
  • If a firewall or IP allowlist protects the database, allow the addresses in the Network access (IP allowlist) panel beside the form.
  • Give Fastero its own database user with only the rights it needs (see Read access below).

Add a connection

  1. In the Workbench, open the actions menu next to Data Sources in the left menu and choose Add Data Source (with none yet, select Add connection under it). The + button in the tab bar also has New connection.
  2. On Data sources & integrations, under Databases & warehouses, select Connect next to your database.
  3. Fill in the form and select Connect.

Fastero connects before it saves, so a database it can't reach is not saved, and the form says why: a wrong password, an unknown host, or a firewall to open. Athena is the exception: it is saved untested, so run a query to check it. The new connection appears under Data Sources.

What each form asks for

Every form starts with a Connection Name.

Database Fields
PostgreSQL Host, Port (5432), Database, Username, Password, SSL/TLS. Paste a Connection string to fill them in.
Supabase The PostgreSQL form. Paste the Session pooler string from Connect in your Supabase project.
Neon The PostgreSQL form. Paste the string from Connect in your Neon project; for change triggers, turn pooling off first.
MySQL Host, Port (3306), Database, Username, Password, SSL/TLS
SQL Server Host, Port (1433), Database, Username, Password, Encrypt connection (Azure SQL needs it on)
Oracle Hostname, Port (1521), Service Name, Username, Password
BigQuery A service account JSON key file with BigQuery permissions, up to 5 MB
Snowflake Account, Warehouse, Database, Username, Password (no key-pair option)
Redshift Host, Port (5439), Database, Username, Password
Athena Region, Workgroup, Output Location (s3://...), Access Key ID, Secret Access Key, and Session Token for temporary keys

SSL/TLS is Require SSL (the default) or Disable SSL.

Connect through an SSH bastion

PostgreSQL, Supabase, Neon, MySQL, SQL Server, Oracle and Redshift can connect through a bastion that is reachable from the internet.

  1. Turn on Connect through an SSH bastion (jump host).

  2. Enter the database's host as the bastion reaches it; a private address is fine. For Oracle, enter its IP address.

  3. Enter the Bastion host, SSH port (22) and SSH user, then select Get key.

  4. Select Copy the line and add it to ~/.ssh/authorized_keys for that user on the bastion. It lets Fastero's key for this connection reach that one host and port, nothing else:

    restrict,port-forwarding,permitopen="10.0.1.5:5432",command="/bin/false" ssh-ed25519 AAAA... fastero
  5. On the bastion, allow SSH from the addresses in the panel beside the form.

  6. Select Connect. Check the bastion's identity shows the bastion's fingerprint; compare it with ssh-keygen -lf on the bastion, then select Trust and continue.

Claude, through the MCP server, gets the same key and line with fastero_create_ssh_key.

Read access

Fastero runs SQL as the database user you entered, so a query an Editor runs in a query tab can write if that user can. To keep data unchanged, connect with a user that can only read. Some paths add limits of their own:

  • SQL Claude runs through the MCP server must be one SELECT, WITH, EXPLAIN or SHOW statement; on PostgreSQL it also runs in a read-only transaction.
  • The assistant in Fastero asks you to approve before it runs SQL on a database.
  • Viewers run only saved SQL, such as the queries behind a dashboard.

Change or test a connection

In the left menu, open a connection's actions menu and choose Edit. Test connection checks the saved details; Save changes keeps your edits. Rename and Delete are in the same menu.

Related