Snowflake Plugin Setup#

This guide gives an overview of how to set up Snowflake in your Flyte deployment.

Add Flyte Chart Repo to Helm#

helm repo add flyteorg

Setup the Cluster#

Start the sandbox cluster

flytectl demo start

Generate flytectl config

flytectl config init

Specify Plugin Configuration#

Create a file named values-override.yaml and add the following config to it:

    # -- Tasks specific configuration [structure](
      # -- Plugins configuration, [structure](
        # -- [Enabled Plugins]( Enable sagemaker*, athena if you install the backend
        # plugins
          - container
          - sidecar
          - k8s-array
          - snowflake
          container: container
          sidecar: sidecar
          container_array: k8s-array
          snowflake: snowflake

Get an API Token#

Next, create a trial Snowflake account and follow the docs for creating an API key. Add the snowflake JWT token to FlytePropeller.


Refer to the Snowflake docs to understand setting up the Snowflake JWT token.

kubectl edit secret -n flyte flyte-secret-auth

The configuration will look as follows:

apiVersion: v1
  client_secret: Zm9vYmFy
kind: Secret
  annotations: flyte flyte

Replace <JWT_TOKEN> with your JWT token.

Upgrade the Flyte Helm release#

helm upgrade -n flyte -f -f values-override.yaml flyteorg/flyte-core

Register the Snowflake plugin example#

flytectl register files --archive -p flytesnacks -d development

Launch an execution#

  • Navigate to Flyte Console’s UI (e.g. sandbox) and find the workflow.

  • Click on Launch to open up the launch form.

  • Submit the form.