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

# Snowflake

> Connect Mora to a Snowflake data warehouse.

## Prerequisites

* A Snowflake account.
* A user with at least read access to the target database, schema, and warehouse.

## Required fields

| Field         | Description                               | Example             |
| ------------- | ----------------------------------------- | ------------------- |
| **Name**      | A display name for this datasource.       | `Mora warehouse`    |
| **Account**   | Your Snowflake account identifier.        | `xy12345.us-east-1` |
| **Username**  | The Snowflake user.                       | `admin`             |
| **Password**  | The user's password.                      |                     |
| **Warehouse** | The compute warehouse to use for queries. | `COMPUTE_WH`        |
| **Database**  | The database to connect to.               | `MY_DATABASE`       |
| **Schema**    | The default schema.                       | `PUBLIC`            |

## Optional fields

| Field    | Description                                                                                | Example        |
| -------- | ------------------------------------------------------------------------------------------ | -------------- |
| **Role** | The Snowflake role to assume for the session. If omitted, the user's default role is used. | `ACCOUNTADMIN` |

## Steps

1. Open **Settings → Datasources → New**.
2. Enter a name and select **Snowflake** as the type.
3. Fill in the fields above.
4. Click **Test connection** to verify.
5. Click **Create**.

## Finding your account identifier

Your account identifier is in the URL you use to access Snowflake. For example, if you log in at `https://xy12345.us-east-1.snowflakecomputing.com`, your account identifier is `xy12345.us-east-1`.

## Related

* [Catalog sync](/datasources/catalog)
* [Managing datasources](/datasources/manage)
