Not sure which SDK to use? Check out our Integration Overview documentation.

Overview

Flipt provides a number of client-side SDKs to help you integrate with Flipt in your application. The SDKs are available in a number of languages:

These SDKs are the same ones that are available for the Flipt v1 Client API and are backward and forward compatible which means there is no need to rewrite your existing code to integrate with Flipt v2.

Polling vs Streaming

By default, the SDKs will use a polling mechanism to sync the state of the flags with the Flipt server. You can set the polling interval using the updateInterval option in the SDK’s configuration.

Unlike v1, Flipt v2 supports streaming mode, which will make the SDK subscribe to changes on the Flipt server and update the state of the flags accordingly in real-time.

To change to streaming mode, you can set the mode option in the SDK’s configuration to streaming.