> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summand.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Database connectors

> Connect Summand to PostgreSQL, MySQL, Snowflake, or Azure SQL for live, refreshable analysis.

Database connectors let Summand query a live warehouse and refresh analysis on demand. Available on **Enterprise** plans.

## Supported engines

> [card] [PostgreSQL](https://docs.summand.com/data-sources/databases.md)
>
> Versions 11+. Read-only credentials recommended.

> [card] [MySQL](https://docs.summand.com/data-sources/databases.md)
>
> Versions 5.7+ and MySQL 8. Compatible with MariaDB.

> [card] [Snowflake](https://docs.summand.com/data-sources/databases.md)
>
> Username + password authentication.

> [card] [Azure SQL](https://docs.summand.com/data-sources/azure-sql.md)
>
> Azure SQL Database and Managed Instance.

For Databricks (with UniForm), see [Delta Sharing](https://docs.summand.com/data-sources/delta-sharing.md). For Databricks without UniForm, Redshift, BigQuery, Oracle, and SaaS sources, see [Fivetran](https://docs.summand.com/data-sources/fivetran.md).

## What Summand needs

A user with **read-only access** to the schemas and tables you intend to analyze. Specifically:

* `SELECT` on the target tables
* `USAGE` on the schemas (Postgres / Snowflake)
* `INFORMATION_SCHEMA` access for schema discovery

Summand never executes writes, never reads system catalogs beyond `INFORMATION_SCHEMA`, and never executes user-supplied SQL.

## Network access

Summand connects from two fixed egress IP addresses, listed in **Settings → Connectivity**. Share them with your network team to allowlist.

Summand reaches your database over its public endpoint. PrivateLink, VPC peering and SSH tunnels are not supported, so a database with no public endpoint can't be connected directly. For those, contact [our sales team](https://intelligible.ai/contact).

## Setup

**1. Create a read-only user in your database**

Use the SQL appropriate for your engine. For Postgres:

```sql theme={null}
CREATE USER summand_reader WITH PASSWORD '<strong-password>';
GRANT CONNECT ON DATABASE your_db TO summand_reader;
GRANT USAGE ON SCHEMA public TO summand_reader;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO summand_reader;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO summand_reader;
```

**2. Add the connector in Summand**

From the **Connectors** page, click **Add connector → PostgreSQL** (or MySQL / Snowflake). Provide host, port, database, and the read-only credentials. Summand validates connectivity before saving.

**3. Pick tables**

Summand discovers all tables you have `SELECT` on. Choose which ones to enable as datasets. You can enable more later from the connector page.

Each enabled table becomes a dataset. Baseline column-stats run automatically. From there, [chat](https://docs.summand.com/guides/ask-summand.md), [create views](https://docs.summand.com/guides/create-a-view.md), or [set up experiments](https://docs.summand.com/guides/set-up-an-experiment.md) — there's no per-dataset configuration step.

## Refresh

Click **Refresh** on a dataset to re-read the source table into Summand's copy. Each run writes a new snapshot of the dataset's Iceberg table. Earlier snapshots stay queryable for at least 30 days by default.

You can also put a dataset on a schedule: hourly, every 3, 6 or 12 hours, daily, or weekly. Each dataset has a sync mode:

* **Full refresh** (default) re-reads the whole table.
* **Incremental append** reads only rows whose cursor column is past the last run's value.
* **Incremental merge** does the same, and updates existing rows by primary key.

Refresh updates the data. Analysis components run when you ask for them in chat or through an experiment.

## Credential handling

* Database passwords are encrypted with AWS KMS and stored in AWS Secrets Manager.
* Plaintext credentials are never logged.
* Connection strings are never exposed in the UI or API responses.
* You can rotate credentials at any time from **Settings → Connectors → Edit**.

## Removing a connector

Deleting a connector starts a background job that deletes each of its datasets and their stored data, then the connector's stored credentials. Views and experiments built on those datasets stay in place. If you re-add the connector, its tables come back as new datasets without their earlier analysis history.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.