> ## 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

<CardGroup cols={3}>
  <Card title="Data sources" icon="database" href="/admin/connect-to-data/data-sources">
    Choose and configure a data warehouse, query engine, or other data source.
  </Card>

  <Card title="Multiple data sources" icon="topology-ring-2" href="/admin/connect-to-data/multiple-data-sources">
    Connect to multiple databases so different cubes reference different sources.
  </Card>

  <Card title="Concurrency" icon="progress-bolt" href="/admin/connect-to-data/concurrency">
    Optimize query queue settings and control load on your data sources.
  </Card>
</CardGroup>

## Recipes

<CardGroup cols={3}>
  <Card title="SSL connections" icon="lock" href="/recipes/configuration/using-ssl-connections-to-data-source">
    Enable TLS to upstream databases with custom CA bundles and client certificates.
  </Card>

  <Card title="Optimizing data source usage" icon="bolt" href="/recipes/configuration/data-store-cost-saving-guide">
    Reduce warehouse spend through pre-aggregation strategy and workload-aware settings.
  </Card>

  <Card title="Custom data source per tenant" icon="server" href="/recipes/configuration/multiple-sources-same-schema">
    Route each tenant to its own database while reusing a single data model.
  </Card>
</CardGroup>
