Environment Setup

Before integrating the SDK into your application, you need to configure the appropriate environment context so the SDK knows where to fetch the correct experiment configurations.

An environment represents a version or stage of your application, such as:

  • Development

  • Staging

  • Production

Each environment has its own unique SDK Key and experiment configurations. This helps teams test safely in staging without affecting live users.

Set Up an Environment

1. Navigate to Project Settings
2. Under Project Settings, click on the Environment tab
3. You can create a custom environment for running your projects
4. Each environment has a corresponding SDK Key, we will use it during SDK initialization to fetch experiments for the right environment.

 

Best Practices for environment naming

Best Practices for environment naming

Environment

Use Case

Development

Local SDK testing & integration

Staging

QA testing before going live

Production

Live experiments for end-users