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

# Datasources overview

> Connect Mora to your SQL database or data warehouse.

A datasource tells Mora where your data lives. Once connected, you can write SQL queries against it, and Mora will sync its schema catalog so the AI and autocomplete understand your tables and columns.

## Supported databases

| Database        | Driver       | Guide                            |
| --------------- | ------------ | -------------------------------- |
| PostgreSQL      | `POSTGRESQL` | [Setup](/datasources/postgres)   |
| MySQL           | `MYSQL`      | [Setup](/datasources/mysql)      |
| Amazon Redshift | `REDSHIFT`   | [Setup](/datasources/redshift)   |
| Google BigQuery | `BIGQUERY`   | [Setup](/datasources/bigquery)   |
| ClickHouse      | `CLICKHOUSE` | [Setup](/datasources/clickhouse) |
| Snowflake       | `SNOWFLAKE`  | [Setup](/datasources/snowflake)  |
| Databricks      | `DATABRICKS` | [Setup](/datasources/databricks) |

## Adding a datasource

1. Open **Settings → Datasources**.
2. Click **New datasource**.
3. Enter a display name for the datasource.
4. Select the database type from the dropdown.
5. Fill in the credentials (see the individual guides above for field details).
6. Click **Test connection**: Mora will attempt to reach your database and report success or an error.
7. Click **Create** to save.

After creation, Mora begins syncing the **catalog**: a snapshot of your schemas, tables, and columns. This powers editor autocomplete and the AI's ability to search your schema. See [Catalog](/datasources/catalog) for details.

## What's next

* [Create a dataset](/datasets/overview) to start querying.
* [Set up a connection](/connections/overview) to sync third-party data into your warehouse.
* [Manage datasources](/datasources/manage), edit credentials, re-test, or delete.
