# Connect a source

> Source: https://whyse.ai/docs/getting-started/connect-a-source

WHYSE reads from your warehouse. It never needs a copy of your rows to answer a question.

## Supported sources

Snowflake, BigQuery, Postgres and Redshift are supported directly. Anything that speaks SQL over a JDBC-compatible connection can be added as a custom source.

```
whyse connect \
  --type      snowflake \
  --account   your-account \
  --warehouse compute_wh \
  --role      whyse_reader
```

## Read-only by default

The connection WHYSE requests is read-only. It runs the pre-aggregation query on your infrastructure and stores only the resulting cube, not the source rows.

## Next

Build your first cube from the source you just connected.
