Connecting your databases

Ask questions about your own databases, either live or from a copy. Databases that are not on the internet can be reached through an SSH tunnel.

Under Data → Datasets → Company databases, a department's manager, an admin or a team lead can connect a database. Supported databases are PostgreSQL, Amazon Redshift, MySQL or MariaDB, SQL Server or Azure SQL, Oracle, Snowflake, Databricks, ClickHouse, Google BigQuery, MongoDB and an AWS data lake (Athena).

Use a database user that can only read data. Its password or token is encrypted before it is saved.

  • Ask it live (recommended): only the column names are stored with us. Every question runs in your own database, and the values never stay with us.
  • Copy it: the tables are copied on a schedule and stored encrypted. This is faster, and it is needed for anomaly checks and for Python.

A database that is not on the internet

Turn on "Connect through SSH" and enter your SSH server (which must be on the internet), its port and its user. CitedKB gives your organization its own SSH key. Add the line that is shown to the SSH user's ~/.ssh/authorized_keys file. For the database address, enter the address as your SSH server sees it.

Connections use TLS encryption when the database supports it.

Still stuck? Contact us