Skip to main content

Onboarding

The onboarding system tracks new users through a guided setup wizard after registration. It ensures users complete key setup steps: choosing a plan, creating their first flag, installing an SDK, and completing an optional product tour.


Get Onboarding State​

Retrieve the current onboarding progress for the authenticated user's organization.

GET /v1/onboarding

Authentication: Bearer JWT

Response 200 OK​

{
"org_id": "uuid",
"plan_selected": true,
"first_flag_created": false,
"first_sdk_connected": false,
"first_evaluation": false,
"tour_completed": false,
"completed": false,
"completed_at": null,
"updated_at": "2026-04-01T00:00:00Z"
}

Update Onboarding State​

Mark one or more onboarding steps as complete.

PATCH /v1/onboarding

Authentication: Bearer JWT

Request​

{
"plan_selected": true,
"first_flag_created": true
}

Only include the fields you want to update. All fields are optional booleans.

Response 200 OK​

Returns the full updated onboarding state (same structure as GET response).


Onboarding Steps​

StepFlag Engine actionBackend Key
Choose PlanSelect Free, Pro, or Enterpriseplan_selected
Create FlagCreate the first feature flagfirst_flag_created
Install SDKView SDK install instructionsfirst_sdk_connected
First EvaluationSDK evaluates a flagfirst_evaluation
Product TourComplete the guided tourtour_completed

When all steps are marked true, the completed field is set automatically along with completed_at.