Snowflake

Introduction

Snowflake is a data platform that allows organizations to store, analyze, and process large volumes of structured and semi-structured data in a highly scalable and efficient manner. With its unique architecture, Snowflake allows organizations to consolidate their data, perform quick analytics, and gain valuable data-driven insights accessible to all users.

MoEngage <> Snowflake

The MoEngage <> Snowflake integration allows you to set up a direct connection between your snowflake instance and MoEngage app to sync data on a recurring basis. You can define a schedule to run the sync periodically - syncs can be as frequently as every hour or as infrequently as once per month. When a sync runs, MoEngage will directly connect to your data warehouse instance, retrieve all new data from the specified table, and update the corresponding data on your MoEngage dashboard.

Benefits

Reduce integration time

  • No more searching for the right ETL tool, as MoEngage directly integrates with Snowflake.
  • Long and complicated ETL pipelines are now replaced with a one-time integration setup that gives MoEngage direct access to your data without actual data flow.
  • This decreases the dependency on tech teams significantly.

Faster data processing

  • The power of the Snowflake infrastructure enables us to store, process, and query massive amounts of data in near real-time.
  • Any changes in the original schema are propagated immediately without having to change any configuration on MoEngage’s end, which is a significant advantage over the traditional ETL pipelines.
  • Since there is no need for ETL tools and external cloud providers, the cost of import is significantly lower than traditional data pipelines.

Integration use-cases

  • Keep your users in MoEngage up-to-date with the user data in your Snowflake account.
  • Import event data from your Snowflake account directly into MoEngage.
  • Import users into MoEngage and retarget them via custom segments.

Integration

library_add_check

Prerequisites

Ensure you have a Snowflake account with admin-level permissions

Set up a new Snowflake Connection

In order to import or export from Snowflake, you will first need to connect MoEngage to your Snowflake data warehouse. To create a new Snowflake Connection:

  1. On your MoEngage Dashboard, go to the App Marketplace.
  2. Search for "Snowflake".

  1. Go to the "Integrate" tab, and click "+ Add Connection".
  2. Provide your Snowflake data warehouse details:

Field Description Example
Connection Name Give this connection an identifiable name. My Snowflake Prod
Snowflake Account Identifier

The account identifier of your Snowflake account.

  • It is always found at the beginning of your Snowflake URL (https://ACCOUNT_IDENTIFIER.snowflakecomputing.com).

  • The format may differ based on Snowflake account age. For details, visit Snowflake docs.

If you're using Snowsight, you can find click on your account name at the bottom of the left nav. Select the account you want to import from and then click on the “copy” icon to copy the Account Identifier. For up-to-date information, you can visit Snowflake docs.

Format should be:

ACCOUNT_IDENTIFIER.snowflakecomputing.com

Warehouse

The name of the warehouse MoEngage will use to execute the queries.

COMPUTE_WAREHOUSE
Database

The database that should be used by MoEngage to read the tables from. You can pick the schema while setting up imports/exports.

MY_DEMO_DB
Username

Either an existing database username with the read access or create a new one for MoEngage.

 
Password

Enter the password of the database user.

 
Role

This role will be used in executing queries from MoEngage.

 
  1. You can click Test connection to test your details or directly click on Save connection to proceed.

Once you have set up a Snowflake Connection, you can use that to set up various imports and exports in MoEngage.

Import users and events from Snowflake into MoEngage

Read our Snowflake Imports guide to set up MoEngage <> Snowflake imports for your account.

Export campaign interaction events from MoEngage to Snowflake

On your MoEngage dashboard, navigate to App Marketplace >> Snowflake.

      1. Click Integrate >> Add Integration 
      2. Select your Snowflake connection.
      3. Select which schema MoEngage will use to create new tables and export your events into. 
      4. Select the events that you want to export to Snowflake 
      5. Click connect. 

Data would now start reflecting on your snowflake account in 15 minutes. 

 

Was this article helpful?
0 out of 1 found this helpful

How can we improve this article?