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

# Connect to data

> Connect your data warehouse or database to Cube and configure connection settings.

Connect your data warehouse, database, or query engine to Cube. Once connected,
you can configure multiple data sources, tune concurrency, and set up
multitenancy.

## Getting started

> [card] [Data sources](https://docs.cube.dev/admin/connect-to-data/data-sources)
>
> Choose and configure a data warehouse, query engine, or other data source.

> [card] [Multiple data sources](https://docs.cube.dev/admin/connect-to-data/multiple-data-sources.md)
>
> Connect to multiple databases so different cubes reference different sources.

> [card] [Concurrency](https://docs.cube.dev/admin/connect-to-data/concurrency.md)
>
> Optimize query queue settings and control load on your data sources.

## Recipes

> [card] [SSL connections](https://docs.cube.dev/recipes/configuration/using-ssl-connections-to-data-source.md)
>
> Enable TLS to upstream databases with custom CA bundles and client certificates.

> [card] [Optimizing data source usage](https://docs.cube.dev/recipes/configuration/data-store-cost-saving-guide.md)
>
> Reduce warehouse spend through pre-aggregation strategy and workload-aware settings.

> [card] [Custom data source per tenant](https://docs.cube.dev/recipes/configuration/multiple-sources-same-schema.md)
>
> Route each tenant to its own database while reusing a single data model.


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