Skip to content

Snowflake

In the OWOX Data Marts web application, navigate to Storages from the main navigation pane and click + New Storage.

Click Snowflake to create a new Storage configuration.

Upon selecting the + New Storage button and specifying the desired storage type, a Storage entry is created. You can create Data Mart entities and model a data structure for your project prior to configuring the Storage. Note that Data Mart cannot be validated or published until the associated Storage is fully configured.

Give the storage configuration a clear title, eg OWOX Data Marts – Snowflake Production.

4. Set General Settings and Connection Details

Section titled “4. Set General Settings and Connection Details”

To find the region and locator for your account, see Snowflake documentation.

  1. Open the account selector and review the list of accounts that you previously signed in to.

    Account selector

  2. Select View account details.

  3. The Account Details dialog displays information about the account, including the account identifier and the account URL.

  4. Copy part of your account identifier from the Account locator field.

  5. Find the region in the account selector (e.g. Europe West4 (Netherlands)).

  6. Compare the found region with the Account Identifier Region in Snowflake documentation for locator formats by cloud platform and region.

  7. Create the account identifier by combining the locator and the region like this: locator.region

    Examples:

    • xy12345.ap-northeast-3.aws
    • xy12345.north-europe.azure

Alternative methods:

  • Log in to your Snowflake account
  • Your account identifier is in the URL format: https://<account_identifier>.snowflakecomputing.com
  • Example: If your URL is https://xy12345.us-east-1.snowflakecomputing.com, enter xy12345.us-east-1

Tip: You can also find your account identifier in Snowflake by running:

SELECT CURRENT_ACCOUNT();
  • In Snowflake, go to Admin → Warehouses
  • Use an existing warehouse or create a new one
  • Copy the warehouse name (e.g., COMPUTE_WH)

Best Practice: Use a dedicated warehouse for OWOX Data Marts to better control costs and performance.

Snowflake supports two authentication methods:

Section titled “Option 1: Username and Password (Recommended for getting started)”
  1. Username: Your Snowflake username
  2. Password: Your Snowflake password

This is the simplest method to get started.

Section titled “Option 2: Key Pair Authentication (Recommended for production)”

Key pair authentication provides enhanced security and is recommended for production environments.

  1. Generate a private key (on your local machine):

    Terminal window
    openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocrypt
  2. Generate a public key:

    Terminal window
    openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub
  3. Assign the public key to your Snowflake user:

    ALTER USER <username> SET RSA_PUBLIC_KEY='MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA...';

    (Remove the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines and concatenate the remaining lines)

  4. Enter the private key in OWOX Data Marts:

    • Copy the entire contents of rsa_key.p8 file (including the BEGIN/END lines)
    • Paste it into the Private Key field
  5. Optional - Private Key Passphrase:

    • If you encrypted your private key with a passphrase, enter it here
    • If you used -nocrypt option (as shown above), leave this blank

Security Note: Never share your private key. Store it securely and never commit it to version control.

If your Snowflake account uses custom roles, enter the role name here (e.g., DATA_ENGINEER).

If left empty, the default role for the user will be used.

Review your entries and click Save to add the Storage configuration, or Cancel to exit without saving.

Once saved, OWOX Data Marts will validate the connection to ensure all credentials are correct.

After configuring your Snowflake storage:

  1. Create a Data Mart that uses this storage
  2. Define your schema with Snowflake-specific field types
  3. Configure a Connector to load data into Snowflake
  4. Run reports and export data from your Snowflake tables
  • Verify your account identifier is correct (format: account.region)
  • Ensure the warehouse name is spelled correctly and exists
  • Check that your username and password are correct
  • For key pair auth, verify the public key is properly assigned to the user

Make sure your Snowflake user has the following privileges:

  • USAGE on the warehouse
  • CREATE SCHEMA on the database
  • CREATE TABLE on the schema
  • SELECT, INSERT, UPDATE on tables

Ensure your warehouse is running and not suspended. You can check this in Snowflake:

SHOW WAREHOUSES;