Skip to main content
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.

Authentication

Client-side SDKs connect to your Flipt server, which handles authentication. Your application needs a valid client token to communicate with Flipt. For detailed instructions on setting up authentication, see the Connecting Applications to Flipt guide. In brief: create a static token in your Flipt configuration, then pass it to your SDK initialization.

JavaScript

Evaluate flags client-side in your Node.js or browser-based applications

React

Evaluate flags client-side in your React applications

Python

Evaluate flags client-side in your Python applications

Go

Evaluate flags client-side in your Go applications

Java

Evaluate flags client-side in your Java applications

Ruby

Evaluate flags client-side in your Ruby applications

Dart

Evaluate flags client-side in your Dart/Flutter applications

C#

Evaluate flags client-side in your C# applications

Swift

Evaluate flags client-side in your Swift applications

Android

Evaluate flags client-side in your Android applications

Request a Client

Need a client in another language? Let us know!

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 allows our SDKs to 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.