Setup and installation guide

Written by Julie Trenque

Updated on 07/25/2023

1 min

Advanced

Was this content useful?

Kameleoon Feature Management & Experimentation capabilities make it possible to activate feature flags and run feature experiments on web and mobile applications. 

Before you can start implementing feature flags and experiments in your code, you will have to install and set up a Kameleoon SDK (client-side or server-side). Refer to the developer documentation available for each SDK.

Key steps

In a nutshell, you will need to:

  • Create a project in Kameleoon (see below if you have not already configured a project).
  • Install the SDK in your web or mobile app. For server-side SDKs, you will need to provide credentials (client_id and client_secret) via a configuration file available in the SDK, which can also be used to customize the SDK behavior. You can also provide them as an additional argument when initializing the SDK (see next step below).

Integrating our SDK into your web application is easy, and its requirements, in terms of memory and network usage are low. Refer to the technical considerations section of the SDK documentation to know more.

We also recommend you check our SDK compatibility table to see which features / methods are available in each of our SDKs. We are always adding support for new languages or frequently enhancing our existing SDKs with new features and methods. As a result, the minimum version support for some SDK features may vary by language. The SDK compatibility table lists which feature is available per language and the SDK version you need to implement in your back-end / front-end to benefit from it. For a complete version history, you can look at the changelog file on the SDK Github repository and recommend you subscribe to email notifications.

How to create a new project

Before creating any feature flag, you need to create a new project in your Kameleoon account. A project can be an environment (production, staging), a website or your mobile application (Android or iOS). 

Each project has its own sitecode, which uniquely identifies a project in your Kameleoon account. If you want to run feature flags across several of your applications and websites without having to duplicate them on each project, we recommend you set up only one project and use the same sitecode in all our SDKs.

Note: Your sitecode appears automatically in the feature flag creation page.

The sitecode is really important and it will be required in our SDK when you initialize the KameleoonClient object.

Node.js example

  • In this article :