docs-mintlify/configuration/data-sources.mdx
Data Sources
Cube supports a wide range of data sources. Below is a list of supported databases and warehouses.
To connect a data source, set the CUBEJS_DB_TYPE environment variable:
CUBEJS_DB_TYPE=postgres
Each data source has its own set of required environment variables. Refer to the individual data source pages for details.
<Tip> In Cube Cloud, you can configure data sources through the UI without managing environment variables directly. </Tip>