Getting Started

SDK Installation

2 min read

FlagPilot provides first-party, lightweight SDK client libraries for JavaScript, Node.js, React, Next.js, Python, and Ruby. Use the REST API from any other language capable of making HTTPS requests.

JavaScript

Install the browser-side client library:

Terminal
npm install @flagpilot/javascript

Node.js

Install the backend Node.js SDK (fully compatible with server frameworks like Express, Fastify, and NestJS):

Terminal
npm install @flagpilot/node

React

Install the React bindings containing Providers and React hooks for real-time reactivity:

Terminal
npm install @flagpilot/javascript @flagpilot/react

Next.js

Install the serverless-optimized Next.js wrapper (compatible with Server Components, Middleware, and Server Actions):

Terminal
npm install @flagpilot/next

Python

Install the Python SDK from PyPI:

Terminal
pip install flagpilot

Ruby

Install the Ruby SDK from RubyGems:

Terminal
gem install flagpilot
Tip
Need another language? FlagPilot's REST API works with any language capable of making HTTPS requests. Additional official SDKs will be released over time.

FAQ

How does SDK Installation interact with local caches?

Configurations are synced down using Edge Config or fallback REST triggers. The client automatically reads evaluations in-memory, resulting in sub-millisecond local evaluation times.

Where can I obtain support for SDK Installation?

You can open a support ticket in your dashboard, check the community roadmap, or consult the FlagPilot Platform Status page.

Was this page helpful?