Skip to main content

Feature experimentation installation guide

Kameleoon’s feature experimentation capabilities enable you to manage feature rollouts, control access, and run experiments using feature flags across web and mobile applications.

This guide walks you through the basic steps of installing and configuring Kameleoon feature experimentation

Create a project in Kameleoon

Before you begin, create a new project in your Kameleoon account. A project represents your web app, mobile app, or both—depending on whether you want to manage them under a single project. From the feature flag creation page, you can easily add any environments (like production, staging, or development) that you use in your development workflow.

Each project is assigned a sitecode—a unique identifier that is required to initialize the Kameleoon SDK.

tip

If you’re running experiments across multiple platforms (web and mobile), you can use the same sitecode for all SDKs to share flags and avoid duplication.

Install an SDK

Kameleoon provides a variety of SDKs for different environments:

  • Server-side SDKs: Java, Node.js, Python, Go, PHP, C#, Ruby
  • Mobile SDKs: Android, Flutter, iOS, React Native
  • Client-side SDKs: JavaScript, React
  • Advanced SDK tools: Edge toolkits, OpenFeature compatibility, SDK API (read more here)

Select the SDK appropriate for your stack. You’ll find installation instructions in our developer documentation.

To install an SDK, typically you will:

  • Provide credentials (client_id and client_secret) via a configuration file available in server-side SDKs. To learn how to retrieve API credentials, refer to this article.
  • Provide your project’s sitecode for initialization.
  • Specify the environment (for example, production, staging) in the SDK configuration to match your development workflow.
  • Choose between polling and streaming modes, which determine how the SDK fetches flag updates, either by regularly checking for changes (polling) or receiving them in real time (streaming). Note that streaming is a premium option.

We also recommend checking our SDK compatibility table to see which features and methods are available for each SDK. Since we regularly add new features and support for additional languages, the minimum required version for certain features may vary by language. The compatibility table shows which features are supported per SDK and the version needed to implement them in your front end or back end.

For a full version history, refer to the changelog in the SDK GitHub repository. We also recommend subscribing to email notifications to stay updated on new releases.

Start using feature flags

With the SDK initialized, you can now:

  • Create feature flags in the Kameleoon app.
  • Roll out features progressively using targeting rules, percentage rollouts, or user attributes.
  • Run experiments on feature flag variations and analyze their impact.

For more information on feature flags, refer to these articles: