---
description: Choose and configure a data warehouse, query engine, or other data source to connect to Cube.
title: Data Sources
sidebarTitle: Overview
mode: wide
---

Cube connects directly to your data warehouse or database. Select your data
source below to get started with the setup process.

You can also connect [multiple data sources][ref-config-multi-data-src] at the same
time and adjust the [concurrency settings][ref-data-source-concurrency] for data
sources.

## Data warehouses

<CardGroup cols={3}>
  <Card title="Amazon Redshift" icon="brand-aws" href="/admin/connect-to-data/data-sources/aws-redshift">
    Connect to Amazon Redshift.
  </Card>
  <Card title="Google BigQuery" icon="brand-google-big-query" href="/admin/connect-to-data/data-sources/google-bigquery">
    Connect to Google BigQuery.
  </Card>
  <Card title="Snowflake" icon="brand-snowflake" href="/admin/connect-to-data/data-sources/snowflake">
    Connect to Snowflake.
  </Card>
  <Card title="Databricks" icon="brand-databricks" href="/admin/connect-to-data/data-sources/databricks-jdbc">
    Connect to Databricks.
  </Card>
  <Card title="Microsoft Fabric" icon="brand-windows" href="/admin/connect-to-data/data-sources/ms-fabric">
    Connect to Microsoft Fabric.
  </Card>
  <Card title="ClickHouse" icon="database" href="/admin/connect-to-data/data-sources/clickhouse">
    Connect to ClickHouse.
  </Card>
  <Card title="SingleStore" icon="database" href="/admin/connect-to-data/data-sources/singlestore">
    Connect to SingleStore.
  </Card>
  <Card title="Apache Pinot" icon="database" href="/admin/connect-to-data/data-sources/pinot">
    Connect to Apache Pinot.
  </Card>
  <Card title="Firebolt" icon="flame" href="/admin/connect-to-data/data-sources/firebolt">
    Connect to Firebolt.
  </Card>
  <Card title="Vertica" icon="database" href="/admin/connect-to-data/data-sources/vertica">
    Connect to Vertica.
  </Card>
</CardGroup>

## Query engines

<CardGroup cols={3}>
  <Card title="Amazon Athena" icon="brand-aws" href="/admin/connect-to-data/data-sources/aws-athena">
    Connect to Amazon Athena.
  </Card>
  <Card title="DuckDB / MotherDuck" icon="database" href="/admin/connect-to-data/data-sources/duckdb">
    Connect to DuckDB or MotherDuck.
  </Card>
  <Card title="Hive / SparkSQL" icon="database" href="/admin/connect-to-data/data-sources/hive">
    Connect to Hive or SparkSQL.
  </Card>
  <Card title="Presto" icon="database" href="/admin/connect-to-data/data-sources/presto">
    Connect to Presto.
  </Card>
  <Card title="Trino" icon="database" href="/admin/connect-to-data/data-sources/trino">
    Connect to Trino.
  </Card>
</CardGroup>

## Transactional databases

<CardGroup cols={3}>
  <Card title="Postgres" icon="database" href="/admin/connect-to-data/data-sources/postgres">
    Connect to Postgres.
  </Card>
  <Card title="Microsoft SQL Server" icon="brand-windows" href="/admin/connect-to-data/data-sources/ms-sql">
    Connect to Microsoft SQL Server.
  </Card>
  <Card title="MySQL" icon="brand-mysql" href="/admin/connect-to-data/data-sources/mysql">
    Connect to MySQL.
  </Card>
  <Card title="Oracle" icon="oval-vertical" href="/admin/connect-to-data/data-sources/oracle">
    Connect to Oracle.
  </Card>
  <Card title="SQLite" icon="database" href="/admin/connect-to-data/data-sources/sqlite">
    Connect to SQLite.
  </Card>
</CardGroup>

## Time series & streaming

<CardGroup cols={3}>
  <Card title="QuestDB" icon="clock-hour-4" href="/admin/connect-to-data/data-sources/questdb">
    Connect to QuestDB.
  </Card>
  <Card title="ksqlDB" icon="ripple" href="/admin/connect-to-data/data-sources/ksqldb">
    Connect to ksqlDB.
  </Card>
  <Card title="Materialize" icon="ripple" href="/admin/connect-to-data/data-sources/materialize">
    Connect to Materialize.
  </Card>
  <Card title="RisingWave" icon="ripple" href="/admin/connect-to-data/data-sources/risingwave">
    Connect to RisingWave.
  </Card>
</CardGroup>

## Other data sources

<CardGroup cols={3}>
  <Card title="MongoDB" icon="leaf" href="/admin/connect-to-data/data-sources/mongodb">
    Connect to MongoDB.
  </Card>
  <Card title="Druid" icon="database" href="/admin/connect-to-data/data-sources/druid">
    Connect to Apache Druid.
  </Card>
  <Card title="Parquet" icon="file" href="/admin/connect-to-data/data-sources/duckdb">
    Query Parquet files via DuckDB.
  </Card>
  <Card title="CSV" icon="file-type-csv" href="/admin/connect-to-data/data-sources/duckdb">
    Query CSV files via DuckDB.
  </Card>
  <Card title="JSON" icon="braces" href="/admin/connect-to-data/data-sources/duckdb">
    Query JSON files via DuckDB.
  </Card>
</CardGroup>

### API endpoints

Cube is designed to work with data sources that allow querying them with SQL.

Cube is not designed to access data files directly or fetch data from REST,
or GraphQL, or any other API. To use Cube in that way, you either need to use
a supported data source (e.g., use [DuckDB][ref-duckdb] to query Parquet files
on Amazon S3) or create a [custom data source driver](#currently-unsupported-data-sources).

## Data source drivers

### Driver support

Most of the drivers for data sources are supported either directly by the Cube
team or by their vendors. The rest are community-supported and will be
highlighted as such in their respective pages.

You can find the [source code][link-github-packages] of the drivers that are part
of the Cube distribution in `cubejs-*-driver` folders on GitHub. 

### Third-party drivers

The following drivers were contributed by the Cube community. They are not part
of the Cube distribution, however, they can still be used with Cube:

- [ArangoDB](https://www.npmjs.com/package/arangodb-cubejs-driver)
- [CosmosDB](https://www.npmjs.com/package/cosmosdb-cubejs-driver)
- [CrateDB](https://www.npmjs.com/package/cratedb-cubejs-driver)
- [Dremio](https://www.npmjs.com/package/mydremio-cubejs-driver)
- [Dremio ODBC](https://www.npmjs.com/package/dremio-odbc-cubejs-driver)
- [OpenDistro Elastic](https://www.npmjs.com/package/opendistro-cubejs-driver)
- [SAP Hana](https://www.npmjs.com/package/cubejs-hana-driver)
- [Trino](https://www.npmjs.com/package/trino-cubejs-driver)
- [Vertica](https://www.npmjs.com/package/@knowitall/vertica-driver)

You need to configure [`driver_factory`][ref-driver-factory] to use a third-party
driver.

### Currently unsupported data sources

If you'd like to connect to a data source which is not yet listed on this page,
please see the list of [requested drivers](https://github.com/cube-js/cube/issues/7076)
and [file an issue](https://github.com/cube-js/cube/issues) on GitHub.

You're more than welcome to contribute new drivers as well as new features and
patches to
[existing drivers](https://github.com/cube-js/cube/tree/master/packages). Please
check the
[contribution guidelines](https://github.com/cube-js/cube/blob/master/CONTRIBUTING.md#contributing-database-drivers)
and join the `#contributing-to-cube` channel in our
[Slack community](https://slack.cube.dev).


[ref-config-multi-data-src]: /admin/connect-to-data/multiple-data-sources
[ref-driver-factory]: /reference/configuration/config#driver_factory
[ref-duckdb]: /admin/connect-to-data/data-sources/duckdb
[link-github-packages]: https://github.com/cube-js/cube/tree/master/packages
[ref-data-source-concurrency]: /admin/connect-to-data/concurrency#data-sources
