Skip to content

Getting Started

Sign up at flags.gg and create your first project.

From the dashboard, create a new project. Each project can have multiple agents and environments.

Every SDK requires three identifiers:

CredentialDescription
Project IDIdentifies your project
Agent IDIdentifies the agent (application or service)
Environment IDIdentifies the environment (production, staging, etc.)

You can find these in the dashboard under your project settings.

In your project dashboard, create a feature flag and toggle it on or off.

Pick the SDK for your stack:

SDKInstall
Reactpnpm add @flags-gg/react-library
Next.jspnpm add @flags-gg/react-library
SDKInstall
Gogo get github.com/flags-gg/go-flags
Rustcargo add flags-rs
Pythonpip install flags-gg
PHPcomposer require flags-gg/flags-php
C#dotnet add package Flags.GG
SwiftAdd via Swift Package Manager
Kotlinimplementation("gg.flags:flags-kotlin:1.0.0")
Rubygem install flags-gem

Every SDK follows the same pattern — initialize a client with your credentials, then check flags:

client.is("my-feature").enabled()

See individual SDK pages for language-specific examples.