Snowflake
~~~~~~~~~

Driverless AI allows you to explore Snowflake data sources from within the Driverless AI application. This section provides instructions for configuring Driverless AI to work with Snowflake. This setup requires you to enable authentication. If you enable Snowflake connectors, those file systems will be available in the UI, but you will not be able to use those connectors without authentication.

Snowflake with Authentication Example
'''''''''''''''''''''''''''''''''''''

This example enables the Snowflake data connector with authentication by passing the ``account``, ``user``, and ``password`` variables.

::

    nvidia-docker run \
        --rm \
        --shm-size=256m \
        -e DRIVERLESS_AI_ENABLED_FILE_SYSTEMS="file,snow" \
        -e DRIVERLESS_AI_SNOWFLAKE_ACCOUNT = "<account_id>" \
        -e DRIVERLESS_AI_SNOWFLAKE_USER = "<username>" \
        -e DRIVERLESS_AI_SNOWFLAKE_PASSWORD = "<password>"\ 
        -u `id -u`:`id -g` \
        -p 12345:12345 \
        -v `pwd`/data:/data \
        -v `pwd`/log:/log \
        -v `pwd`/license:/license \
        -v `pwd`/tmp:/tmp \
        -v `pwd`/service_account_json.json:/service_account_json.json \
        h2oai/dai-centos7-x86_64:1.4.0-9.0s

After the Snowflake connector is enabled, you can add datasets by selecting **Snowflake** from the **Add Dataset (or Drag and Drop)** drop-down menu.

.. include:: ../add-snowflake-dataset.frag
