If you have both Data Export and Experimentation enabled for your LaunchDarkly account, you should have access to Snowflake native Experimentation. If you do not have access or need help getting started, contact your LaunchDarkly representative or start a Support ticket.
You cannot run Snowflake native experiments on experiment data coming from third-party sources, or flag evaluation data from LaunchDarkly that was not generated as part of a LaunchDarkly experiment.
This topic explains how to set up the Snowflake native Experimentation integration.
To configure the Snowflake integration, you must have the following prerequisites.
Before you begin, prepare your Snowflake data to meet the Snowflake data requirements for the integration.
The role permission requirements include:
ACCOUNTADMIN role in SnowflakeYou must add to your Snowflake allow list the following outbound IP addresses:
For a full list of LaunchDarkly’s public IP addresses, read Public IP list.
MobileApp and your environment key is production, your combined key is MobileApp__production.<ProjKey__EnvKey> with your combined key in the code sample below, and add it to your Snowflake network policy:To begin, collect the following information about your Snowflake account:
If you were using an earlier version of Snowflake Data Export, you must update it to the version released in January 2025.
To begin, configure the latest Snowflake Data Export integration. The Snowflake Data Export integration provides LaunchDarkly experiment exposure data to Snowflake. This data is used with your metric events data stored in Snowflake to compute experiment results.
Follow the installation instructions at Snowflake Data Export to configure the Snowflake Data Export integration. You can also view a 6-minute instructional video about Snowflake Data Export Setup.
Now, you will configure the Snowflake native Experimentation integration in LaunchDarkly. This integration is a second LaunchDarkly integration that looks similar to the Snowflake Data Export integration, but requires a separate setup process.
To set up the Snowflake native Experimentation integration:

Keep the configuration screen open, as you will return to it in a later step.
Next, run the SQL script in Snowflake:
To finish the configuration in LaunchDarkly:
Now, you can set up your metric data source in LaunchDarkly by following the steps under Create data sources.
Finally, verify the connection. On the integration configuration page, check the “Connection status” indicator. A green Healthy status confirms LaunchDarkly can connect to Snowflake and has the correct permissions.
Read the following topics to understand how to create an experiment using a Snowflake native metric and how to analyze the experiment results:
The results page for an experiment using warehouse native metrics displays the date and time the results were last updated from Snowflake. The initial load of experiment results can take up to 60 minutes to appear, and further results updates appear within 15–30 minutes.