Quickstart
This guide takes you from zero to a running edge evaluation in a few
minutes. We’ll create a workspace, add a flag, mint a service-account
token, and call /v1/evaluate.
1. Create an account
Section titled “1. Create an account”Open the dashboard and register. The first user on a self-hosted install becomes the owner of the bootstrap workspace. On hosted f69, you land on /profile where you can create or join workspaces.
2. Create a workspace and project
Section titled “2. Create a workspace and project”From /profile, click New workspace and pick a slug. Slugs must be
lowercase letters, digits, or hyphens (length limits apply). Each
workspace ships with a default project that already has dev, staging,
and prod environments.
Workspace: acme└── Project: default ├── dev ├── staging └── prodYou can add more projects from the workspace overview.
3. Add a feature flag
Section titled “3. Add a feature flag”Inside your workspace, open Features and click New feature. A feature has:
- A key (unique within the project, e.g.
new-checkout). - A default value (
true/false). - One or more rules per environment.
Start with a simple boolean default of false, then save.
4. Mint a service-account token
Section titled “4. Mint a service-account token”Edge requests authenticate with a service account, which is bound to exactly one environment.
- Go to Settings → Service accounts.
- Click New service account.
- Pick the environment (e.g.
prod) and a role (readerevaluates only;writermay also identify entities). - Copy the token shown once - it has the shape
xxxxxxxx@f69:<uuid>.<secret>. Store it asF69_TOKEN.
If you lose it, mint a new one - the secret is hashed at rest and cannot be recovered.
5. Identify an entity
Section titled “5. Identify an entity”Tell the edge who you are evaluating for. The body’s environment is implicit (it comes from the token).
curl -X POST https://edge.example.com/v1/identify \ -H "Authorization: Bearer $F69_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "type": "user", "external_id": "u-alice", "attributes": { "country": "NG", "plan": "pro" } }'type is the entity kind (user, workspace, etc.) and external_id is
your stable identifier for the entity.
6. Evaluate flags
Section titled “6. Evaluate flags”Now ask for a decision. Omit keys to evaluate every flag in the project,
or pass an explicit list.
curl -X POST https://edge.example.com/v1/evaluate \ -H "Authorization: Bearer $F69_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "id": "u-alice", "type": "user", "keys": ["new-checkout"] }'The response is a JSON array, one entry per flag:
[ { "key": "new-checkout", "value": false, "reason": "DEFAULT", "version": "live" }]reason tells you which path resolved the decision: TARGETING_MATCH,
SPLIT (rollout), DEFAULT, FALLBACK, or ERROR.
Next steps
Section titled “Next steps”- Add targeting rules and rollouts - see Edge evaluation.
- Pull values inside your code - see SDKs & API.
- Learn the building blocks - Core concepts.