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

# Create a Snowflake Source and Load Data

## Before you Begin

Before you create a Snowflake source in the **Sources** module, ensure that you have an account with Snowflake and the data available that needs to be imported to Zeotap CDP in that account.

<Note>
  **Note:**

  * The sandbox environment does not support deltas, but they are available in production.
  * The sandbox supports only a daily refresh, which occurs once every 24 hours. It does not support intraday refresh.
</Note>

For that account, ensure that you have the following information readily available:

### Username

This is username used to log into your [Snowflake account](https://app.snowflake.com/).

### Password

This is the password for the above user.

### Account Name

This is the account ID of your cluster, which is a combination of your *Organization name* and *Account name* on Snowflake. Perform the following steps to obtain it:

<Steps>
  <Step>
    Select your profile in the lower-left corner of the Snowflake screen. Navigate to **Account**, and then click **View Account Details** under your account.
  </Step>

  <Step>
    Copy the **Account Identifier** displayed under the **Account** tab, which is your **Account Name** in Zeotap CDP.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-4.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=88d38391d9d52235bfece80304f280f9" width="3034" height="1778" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-4.png" />
    </Frame>
  </Step>
</Steps>

### Warehouse

A [virtual warehouse](https://docs.snowflake.com/en/user-guide/warehouses), often referred to simply as a "warehouse," is a cluster of compute resources in Snowflake. Ensure that the warehouse you use is in **Started** (Active) status when integrating with Zeotap CDP.

To obtain the warehouse details, perform the following steps:

<Steps>
  <Step>
    Navigate to **Admin** > **Warehouses**.
  </Step>

  <Step>
    Copy the **Warehouse Name** as shown in the image below.
    To create a new warehouse, click **+ Warehouse** in the top-right corner of the screen.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-6.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=4c85492a20c43ac17b0884fb38e09e2f" width="3536" height="1156" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-6.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  **Note:**

  You can resume a suspended (that is, inactive) warehouse by using the following the steps provided in the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/warehouses-tasks#starting-or-resuming-a-warehouse).
</Note>

### Database

All data in Snowflake is maintained in databases. Each database consists of one or more schemas, which are logical groupings of database objects, such as tables and views. To obtain the **Database** details from Snowflake, navigate to **Databases** under **Data** > **Click the desired Database** and copy the **Database Name** as shown in the image below.

<Note>
  **Note that each source creates its own schemas and tables, so we recommend to create a new database for this purpose to avoid name conflicts with existing data**. To learn how to create a new database, refer [here](https://docs.snowflake.com/en/sql-reference/sql/create-database).
</Note>

<Frame>
  <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-14.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=4cdfd31a6d5c9c97ea2fab0e5b971c81" width="3512" height="1200" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-14.png" />
</Frame>

### Schema

Schema is a container for all objects such as tables, views and stored procedures in the same logical namespace. To obtain the schema details from Snowflake, navigate to **Databases** under **Data** > under the desired Database > click the **Schemas** tab and copy the **Schema Name** as shown in the image below.

<Frame>
  <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-17.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=3c17243e39c49b0d5f7a9e93549659a7" width="3536" height="1040" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-17.png" />
</Frame>

### Table

A table is a container for rows of data organised and described by columns, which can be used for data storage, analysis and querying. To obtain the **Table** details from Snowflake, navigate to **Databases** under **Data** > under the desired Database > click the desired Schema **>** click **Tables** and copy the desired **Table Name** as shown in the image below.

<Frame>
  <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-16.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=5e388dd0628fb9b8894ea791ecbdcd60" width="3556" height="1104" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-16.png" />
</Frame>

## Create a Snowflake Source

Once you have obtained the above details from Snowflake, perform the following steps to create a Snowflake Source in the Zeotap CDP App:

<Steps>
  <Step>
    In the Zeotap CDP App, navigate to **Integrate** > **Sources**.
  </Step>

  <Step>
    Click **CREATE SOURCE**.
  </Step>

  <Step>
    Choose **Data Warehouse** as the **Category**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/1FGgO964H8EKim6t/articles/integrate-customer/Storage/integrate-customer/working-with-the-source-listing-page/create_snowflake_1.png?fit=max&auto=format&n=1FGgO964H8EKim6t&q=85&s=f4e37183d8d62b4a2ef55a4501114c69" width="3554" height="1980" data-path="articles/integrate-customer/Storage/integrate-customer/working-with-the-source-listing-page/create_snowflake_1.png" />
    </Frame>
  </Step>

  <Step>
    Click **Snowflake** as the **Data Source**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-10-21.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=7b9474fe83e8d39d6f2dee2d0f87747f" width="3506" height="1744" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-10-21.png" />
    </Frame>
  </Step>

  <Step>
    Enter the below information based on your Snowflake account. For more information about how to obtain these from Snowflake, refer to the [Before you Begin](#before-you-begin) section.

    a. Under **Source name,** enter a descriptive name for your Source.

    b. Select the **region** of upload as per your requirement.

    c. Choose the desired **Sync Frequency** using the drop-down. The first data sync takes place once you create the source. However, the subsequent syncs occur based on the sync frequency that you chose. Currently, we support the following sync frequencies:

    * **Daily**
    * **Weekly**
    * **Monthly**
    * **Hourly**
    * **Thirty Minutes**
    * **Fifteen Minutes**

    d. You can provide the **Username**, **Password**, **Account name**, **Warehouse**, **Database**, **Schema**, and **Table** details that you have obtained from your Snowflake account. For more information about how to obtain them, refer to the [Before you Begin](#before-you-begin) section.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-12.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=d97c41d75de5642be1363713881c7e4c" width="3526" height="1730" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-12.png" />
    </Frame>

    e. Under **Data Entity**, depending on the type of data that you want to ingest, choose either **[Customer Data](https://docs.zeotap.com/articles/unify-customer/customer-data)** or **[Non Customer Data](https://docs.zeotap.com/articles/unify-customer/non-customer-entity-data).**

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06-1.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=6f2a94f0098b102497a5c4cd862e8547" width="662" height="162" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06-1.png" />
    </Frame>

    f. Under **Delta Queries** **Selection**, you can choose whether or not you want to consider deltas (data additions/changes) in a table. Based on your requirement, select either **true** or **false**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=72b5d89edcd6880d0aa5053a5ea3e2de" width="378" height="160" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06.png" />
    </Frame>

    i. If you select **true**, Zeotap CDP exclusively gathers incremental updates (deltas) as per the sync frequency configured. <br />
    ii. If you select **false**, then Zeotap CDP retrieves and transfers the entire dataset during each subsequent synchronisation, regardless of any changes made. This process ensures the full dataset is updated at each sync frequency.

    <Callout color="#FF0000" icon="circle-info">
      **Note:**

      **If you wish to use the Delta Query Selection, then ensure that before creating the Snowflake source, you perform the steps mentioned** [here](#data-loading-on-snowflake).
    </Callout>
  </Step>

  <Step>
    Review all the fields entered and click **Create Source**. The newly created source will be listed on the **[Source Listing](/articles/integrate-customer/components-of-the-source-listing-page)** page. You can verify the details of the created source in the **Implementation Details** tab, as shown below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-10.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=bc381575ca30d26ca10563bf1f9b9cd4" width="3504" height="1730" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-10.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  **Note:**

  You can create a maximum of five Non-Customer Entity Data (NCE) sources in an account. This default limit applies to both archived and active NCE sources within an organisation. To increase the limit, reach out to your Zeotap POC.
</Note>

## Data Loading on Snowflake

After successfully creating a Snowflake source in Zeotap CDP by providing details such as User name, Password, Warehouse, Database, Schema, Table and more, you can start loading the data from your Snowflake account to Zeotap CDP. To do so, perform the following steps:

<Steps>
  <Step>
    Log into your [Snowflake account](https://app.snowflake.com/).
  </Step>

  <Step>
    Ensure that the **Warehouse** name matches the Warehouse name provided while the source in Zeotap CDP by navigating to your account details.
  </Step>

  <Step>
    In the left navigation panel, click **Databases** under **Data.** A list of databases appears.

    <Frame>
      <img src="https://mintcdn.com/zeotap/YsfMI6ywZtMAuMQe/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-1.png?fit=max&auto=format&n=YsfMI6ywZtMAuMQe&q=85&s=8829dfd5e218db30f0a042742555b678" width="2830" height="1286" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-1.png" />
    </Frame>
  </Step>

  <Step>
    Click the **Database** that you have provided while creating the source in Zeotap CDP.
  </Step>

  <Step>
    Under the chosen Database, click **Schemas.**

    <Frame>
      <img src="https://mintcdn.com/zeotap/YsfMI6ywZtMAuMQe/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-2.png?fit=max&auto=format&n=YsfMI6ywZtMAuMQe&q=85&s=b49d317116cb8fb10df4b537a9b1007f" width="2830" height="1286" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-2.png" />
    </Frame>
  </Step>

  <Step>
    In the list of Schemas that appears, click the Schema provided while creating the source in Zeotap CDP and go to the **Tables** tab.

    <Frame>
      <img src="https://mintcdn.com/zeotap/YsfMI6ywZtMAuMQe/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-4.png?fit=max&auto=format&n=YsfMI6ywZtMAuMQe&q=85&s=a0f9399c5eb8516a07e06e6a9a108de7" width="2830" height="1286" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-4.png" />
    </Frame>
  </Step>

  <Step>
    In the list of tables, click the table that you have provided while creating the source in Zeotap CDP and click **Load Data**. If you encounter a privileges error, click [here](https://docs.snowflake.com/en/user-guide/security-access-control-privileges#label-table-privileges) to learn more about the required privileges and contact your Snowflake account administrator.

    <Frame>
      <img src="https://mintcdn.com/zeotap/YsfMI6ywZtMAuMQe/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-7.png?fit=max&auto=format&n=YsfMI6ywZtMAuMQe&q=85&s=b77c36b03c56655f645ca9063e2e24de" width="2830" height="1286" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-7.png" />
    </Frame>
  </Step>

  <Step>
    Use the **Load Data into Table** window that appears to load the data files in one of the following formats:
    `CSV/TSV, JSON, ORC, AVRO, PARQUET, or XML`.

    <Frame>
      <img src="https://mintcdn.com/zeotap/YsfMI6ywZtMAuMQe/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-8.png?fit=max&auto=format&n=YsfMI6ywZtMAuMQe&q=85&s=a7c334b8e5b96cfb7271ea4f0b511ecd" width="2830" height="1286" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2024-03-27-8.png" />
    </Frame>
  </Step>

  <Step>
    Upon completing this process, you can verify the data flowing into your Snowflake source in Zeotap CDP under the **Preview Data** tab. At this stage, the status of the source changes from **CREATED** to **INTEGRATED**.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-19.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=7fbc64c8dff5e4f922bb55fe66d11a36" width="3496" height="1392" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-01-23-19.png" />
    </Frame>
  </Step>
</Steps>

<Note>
  **Note:**

  *On the Preview tab, if you see the message "**No data has been received. Ensure to implement the source correctly and check again later**", then reach out to our support team at [support@zeotap.com](mailto:support@zeotap.com).*
</Note>

## Steps to Enable Delta Fetch in Snowflake

To enable delta fetch on the desired table, perform the following steps:

<Steps>
  <Step>
    In the Snowflake console, navigate to **Projects** > **Worksheets.**
  </Step>

  <Step>
    Click **create New SQL** worksheet.

    <Frame>
      <img src="https://mintcdn.com/zeotap/uj9kV6WkF-FC0bHW/articles/integrate-customer/Storage/integrate-customer/snowflake-destination/snowflake-destination-2025-01-29-10.png?fit=max&auto=format&n=uj9kV6WkF-FC0bHW&q=85&s=c14524016326971994dc989472251212" width="3562" height="924" data-path="articles/integrate-customer/Storage/integrate-customer/snowflake-destination/snowflake-destination-2025-01-29-10.png" />
    </Frame>
  </Step>

  <Step>
    Choose the **Database** and **Schema**, where you want to sent the data to, as shown below.

    <Frame>
      <img src="https://mintcdn.com/zeotap/uj9kV6WkF-FC0bHW/articles/integrate-customer/Storage/integrate-customer/snowflake-destination/snowflake-destination-2025-01-29-11.png?fit=max&auto=format&n=uj9kV6WkF-FC0bHW&q=85&s=c1c34f30af571dbb71156187602ff83c" width="2138" height="1038" data-path="articles/integrate-customer/Storage/integrate-customer/snowflake-destination/snowflake-destination-2025-01-29-11.png" />
    </Frame>
  </Step>

  <Step>
    Enter the command `ALTER TABLE ${TABLE_NAME} SET CHANGE_TRACKING = TRUE;` in the right hand side of the screen.
  </Step>

  <Step>
    Replace `${TABLE_NAME}` with the actual table name and click the **Run** button.

    <Frame>
      <img src="https://mintcdn.com/zeotap/nvqTscX2rya8znmd/articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06-2.png?fit=max&auto=format&n=nvqTscX2rya8znmd&q=85&s=7b5ef53cf80c4c2c7d21770471cd78f4" width="1858" height="524" data-path="articles/integrate-customer/Storage/integrate-customer/create-a-snowflake-source/create-a-snowflake-source-2025-02-06-2.png" />
    </Frame>
  </Step>

  <Step>
    Once this process is complete, the selected table will be configured to support delta fetches.
  </Step>
</Steps>

## Related Topics

<CardGroup>
  <Card title="Best Practices for Snowflake" icon="snowflake" horizontal href="/articles/integrate-customer/best-practices-for-snowflake-source" />

  <Card title="Error Handling and More" icon="sensor-triangle-exclamation" horizontal href="/articles/integrate-customer/snowflake-source-error-handling-and-more" />

  <Card title="FAQs for Snowflake" icon="circle-question" horizontal href="/articles/integrate-customer/faqs-for-snowflake" />

  <Card title="Catalogue Mapping for Customer Data (CE)" icon="database" horizontal href="https://docs.zeotap.com/articles/unify-customer/map-the-catalogue-for-customer-data" />

  <Card title="Catalogue Mapping for Non-Customer Data (NCE)" icon="database" horizontal href="https://docs.zeotap.com/articles/unify-customer/map-the-catalogue-for-non-customer-entity-data" />
</CardGroup>
