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

# Import from Data Warehouse

Refuel makes it a breeze to import your data residing in Data Warehouses such as Snowflake, Databricks (more coming soon).

Refuel is committed to keeping your data safe by following industry-standard practices for securing physical deployments, setting access policies, and leveraging the security features of leading Cloud providers.

Generally, the import is a 2-step process:

* Setting up the [Data Warehouse Integration](/integrations/data_warehouses)
* Telling Refuel the location of the data

## Snowflake

**Prerequisite:** Setup the [snowflake integration](/integrations/snowflake)

<Steps>
  <Step title="Choose snowflake from the list of Data Sources">
    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/dataset-sources.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=4076da2b60e54fb1e4bd8868ff623641" alt="Data Sources" width="1024" height="584" data-path="images/datasets/dataset-sources.png" />
  </Step>

  <Step title="Specify the table name">
    Add the name of the table that you want to import in the format **schema\_name.table\_name**.

    The user/role specified during snowflake integration should have read access to the table

    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/snowflake/step-1.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=cd25d72878d6c131cc5d884a3fd93892" alt="Add Snowflake Table" width="1017" height="236" data-path="images/datasets/snowflake/step-1.png" />
  </Step>

  <Step title="Setup the dataset">
    Select the set of primary keys that can uniquely identify a row in the provided table. You also need to select
    a timestamp column that will act as a checkpoint so we only read new data as it arrives in your Snowflake table.

    If your table does not have a primary key or timestamp column, please drop us a message.

    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/snowflake/step-2.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=2d50a85880ec1dbee07237777dfab4bb" alt="Setup Snowflake Dataset" width="1018" height="1165" data-path="images/datasets/snowflake/step-2.png" />
  </Step>
</Steps>

## Databricks

**Prerequisite:** Setup the [databricks integration](/integrations/databricks)

<Steps>
  <Step title="Choose databricks from the list of Data Sources">
    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/dataset-sources.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=4076da2b60e54fb1e4bd8868ff623641" alt="Data Sources" width="1024" height="584" data-path="images/datasets/dataset-sources.png" />
  </Step>

  <Step title="Specify the table name">
    Add the name of the table that you want to import in the format **schema\_name.table\_name**.

    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/databricks/step-1.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=3be00d1941c135bb1dfc89bee9df9cc2" alt="Add Databricks Table" width="2046" height="482" data-path="images/datasets/databricks/step-1.png" />
  </Step>

  <Step title="Setup the dataset">
    Select the set of primary keys that can uniquely identify a row in the provided table. You also need to select
    a timestamp column that will act as a checkpoint so we only read new data as it arrives in your Databricks table.

    If your table does not have a primary key or timestamp column, please drop us a message.

    <img src="https://mintcdn.com/refuelai/Ro4ZLj7W42QNS-H_/images/datasets/databricks/step-2.png?fit=max&auto=format&n=Ro4ZLj7W42QNS-H_&q=85&s=76a9b7ac2290f554543ca87a73bf7ac7" alt="Setup Databricks Dataset" width="2052" height="2010" data-path="images/datasets/databricks/step-2.png" />
  </Step>
</Steps>

If you want to automatically run a task on new data as it lands in your Data Warehouse, you can setup a [Scheduled Task Run](/guides/tasks/scheduled_run) on your dataset.
