# Snowflake destination

> How to load Windsor.ai data into Snowflake using native connectors.

The Snowflake destination writes Windsor data into a Snowflake table on a schedule. Use it for large-scale data warehousing, SQL analysis, and feeding BI tools that connect to Snowflake.

## Prerequisites

- A Snowflake account with a database and schema where Windsor can write.
- A Snowflake user with `CREATE TABLE` and `INSERT` privileges on the target schema, or the `SYSADMIN` role for initial setup.

## Setup

1. In Windsor, connect your data source(s) and configure your query.
2. In the destination list, select **Snowflake**.
3. Enter your Snowflake connection details:
   - **Account identifier** — for example `xy12345.us-east-1`
   - **Username** and **password** (or key-pair authentication)
   - **Warehouse** — the Snowflake virtual warehouse to use for loading
   - **Database** and **schema**
   - **Table name**
4. Choose the write mode: **replace** (overwrite) or **append**.
5. Click **Add Destination Task**.
6. Set the refresh schedule.
7. Click **Save**.

## Using native connectors

Windsor also supports Snowflake's native connector integration. See [How to use Windsor.ai native connectors for Snowflake](https://windsor.ai/documentation/troubleshooting/how-to-use-windsor-ai-native-connectors-for-snowflake.md) for the native connector setup.

## Write modes

| Mode | Behavior |
| --- | --- |
| Replace (overwrite) | Truncates the table and rewrites all rows on each sync. |
| Append | Adds new rows on each run without removing existing data. |

## Troubleshooting

- [How to use Windsor.ai native connectors for Snowflake](https://windsor.ai/documentation/troubleshooting/how-to-use-windsor-ai-native-connectors-for-snowflake.md)
- [How to fix authentication errors](https://windsor.ai/documentation/troubleshooting/how-to-fix-authentication-errors.md)
