Skip to main content

Quickstart

Get FeatureSignals running locally in under 5 minutes using Docker Compose.

:::tip Try without installing Want to explore FeatureSignals without any setup? Start a free trial — sign up with your email to get full Pro access for 14 days, no credit card required. :::

Prerequisites​

1. Clone and Start​

git clone https://github.com/dinesh-g1/featuresignals.git
cd featuresignals
docker compose up -d

This starts:

  • PostgreSQL on port 5432
  • API Server on port 8080
  • Flag Engine on port 3000

Database migrations run automatically on startup.

2. Create Your Account​

Open https://app.featuresignals.com and register a new account. This creates:

  • Your user account
  • A default organization
  • A Default Project with three environments: dev, staging, production

3. Create a Feature Flag​

  1. Navigate to Flags in the sidebar
  2. Click Create Flag
  3. Enter:
    • Key: new-checkout
    • Name: New Checkout Flow
    • Type: boolean
  4. Click Create

4. Enable the Flag​

  1. Open the flag detail page
  2. Switch to the dev environment tab
  3. Toggle the flag ON

5. Evaluate in Your App​

Create an API Key​

  1. Go to Settings → API Keys
  2. Create a server API key for the dev environment
  3. Copy the key (shown only once)

Install an SDK​

npm install @featuresignals/node
import { FeatureSignalsClient } from '@featuresignals/node';

const client = new FeatureSignalsClient('YOUR_API_KEY', {
envKey: 'dev',
baseURL: 'https://api.featuresignals.com',
});

await client.waitForReady();

const enabled = client.boolVariation('new-checkout', { key: 'user-123' }, false);
console.log('New checkout enabled:', enabled);

6. Toggle and Observe​

Go back to the Flag Engine, toggle the flag OFF, and re-run your app. The value changes instantly (or within the polling interval).

Next Steps​