Snowflake native connection

This section illustrates how KAWA can leverage Snowflake as its data warehouse.

1. Overview

KAWA integrates natively with Snowflake as a primary data warehouse, enabling seamless connectivity to your centralized enterprise datasets. By leveraging Snowflake’s scalable compute and elastic storage architecture, KAWA empowers users to explore, transform, and visualize data through its intuitive analytics interface—while maintaining full SQL compatibility and direct access to live Snowflake tables. This integration unlocks powerful capabilities such as Python-based ETL, dynamic schema augmentation, and real-time insights, all orchestrated within the Snowflake ecosystem. With KAWA, organizations can unify interactive analytics and advanced data workflows on Snowflake, combining performance, governance, and usability in one streamlined platform.

2. Configuration guide

This configuration guide outlines how to connect KAWA to a snowflake data warehouse.

2.1 Configuring Snowflake

Connect to your snowflake instance with a user that can create databases, roles and users.

a. Creating a database and schema for KAWA to write in

KAWA will create tables containing user data such as CSV uploads, pandas data frames etc.. in this database and schema.

b. Create a role and a user with all permissions in the new schema

This creates a role with Write Back capabilities in the kawa database and schema.

Create a user associated with that role:

c. Create a role / user with readonly access on selected databases

The readonly user must have permission to read the kawa_analytics_db created in the previous steps. It must also be able to access all the schemas and databases (SELECT only) that you want to connect to KAWA.

Make also sure that this user can create views in the KAWA database and schema.

Now, create a user with the new readonly role.

Alternatively, you can opt to configure a RSA keypair to authenticate your users. In oder to do so, for each user:

  1. Generate a private key with:

  1. Derive your public key from the private key:

  1. Configure your users

2.2 Configuring KAWA

KAWA needs the following environment variables to work with this setup:

If you opted for the keypair authentication method, set the following two variables instead of the passwords:

In the snowflake GUI, you can easily retrieve your account identifier.

Last updated

Was this helpful?