If you have both Data Export and Experimentation enabled for your LaunchDarkly account, you should have access to Redshift native Experimentation. If you do not have access or need help getting started, contact your LaunchDarkly representative or start a Support ticket.
This topic explains how to set up the Redshift warehouse native Experimentation integration. Redshift native Experimentation enables you to run experiments in LaunchDarkly using data directly from your Amazon Redshift data warehouse. This lets LaunchDarkly experiments read and analyze your metrics data stored in Redshift, without requiring you to send event data through LaunchDarkly’s SDKs.
Before you can begin running Redshift native experiments, you must configure the Redshift Data Export integration in LaunchDarkly.
Before setting up Redshift native Experimentation, ensure that you have:
To begin, collect the following information about your Redshift cluster:
my-cluster.abc123.us-east-1.redshift.amazonaws.commy-redshift-clusterus-east-1You can collect this information from your cluster’s “General information” screen:

This step collects your connection details you gathered in the previous section and generates the IAM policy you’ll use in the next step. This integration is a second LaunchDarkly integration that looks similar to the Redshift Data Export integration, but requires a separate setup process.
To set up the integration:
Navigate to the Integrations page. 2. Search for and select Redshift Native Experimentation. Click Add integration. The configuration panel appears. 4. Enter an integration Name. 5. Select the LaunchDarkly Project and environment for this integration. You cannot change this after you save the integration. 6. Enter your Redshift endpoint cluster URL. 7. Enter your Redshift cluster identifier. 8. Enter the Redshift cluster region where your cluster is deployed.


Next, you will create AWS Resources using the JSON and SQL you copied and saved in this section. Leave the LaunchDarkly integration page open, as you will return to it t the end of the next section.
Use the JSON and SQL scripts you saved in the previous section to create the required resources in your AWS account.
LaunchDarklyRedshiftAccess.To create the IAM Role:

LaunchDarklyRedshiftAccess.LaunchDarklyRedshiftRole.
Next, configure the Redshift database:
The script creates the required database user and grants the necessary permissions for LaunchDarkly to read your metrics data.
Ensure your Redshift cluster can receive connections from LaunchDarkly’s infrastructure by whitelisting the following IP addresses:
Finally, verify the connection. On the integration configuration page, check the “Connection status” indicator. A green Healthy status confirms LaunchDarkly can connect to Redshift and has the correct permissions.
If you encounter issues with your setup, you can take the following actions:
If you are still having trouble with your connection contact LaunchDarkly Support with the following information:
Read the following topics to understand how to create a Redshift native experiment and analyze the experiment results:
The results page for a warehouse native experiment displays the date and time the results were last updated from Redshift. The initial load of experiment results can take up to 60 minutes to appear, and further results updates appear within 15–30 minutes.