Add your first parameter
A parameter in Nona is a config entry stored in a project environment.
Good first examples:
Features:Checkoutwith valuetrueApp:BannerTextwith valueHelloApp:Settingswith a JSON object
Those examples show the two main sides of Nona:
- feature flags through boolean values
- remote config through text, numeric, and JSON values
Choose the right content type
Section titled “Choose the right content type”Nona supports:
textnumberbooleanjson
Use them like this:
booleanfor feature flags and kill switchestextfor copy, labels, or simple string settingsnumberfor thresholds, percentages, and limitsjsonfor structured configuration that belongs together
Choose the right scope
Section titled “Choose the right scope”clientfor frontend/mobile-readable valuesserverfor backend-only valuesallfor values both sides can read
Scope is one of the most important Nona decisions because it affects what kind of API key can read the entry.
Good first parameter choices
Section titled “Good first parameter choices”For the simplest first test, start with Features:Checkout = true as a boolean or App:BannerText = Hello as text. If your app is frontend-facing, client is usually the easiest first scope. If the value should stay backend-only, use server from the start.
In admin
Section titled “In admin”- open
Projects - open your project
- select the target environment tab such as
production - click
Add Parameter - enter a key such as
Features:Checkout - pick
booleanas the datatype - set the scope to
clientorserver - enter the value
- click
Create
After creation, the parameter appears in the table for the active environment.
With the CLI
Section titled “With the CLI”Create the same entry from a terminal:
nona entries set \ --project storefront \ --environment production \ --key Features:Checkout \ --value true \ --scope client \ --content-type booleanThen verify it:
nona entries get --project storefront --environment production --key Features:Checkoutnona entries list --project storefront --environment productionIf you already saved the project with nona config set project storefront, you can omit --project.
Common mistakes
Section titled “Common mistakes”- storing a feature flag as
textinstead ofboolean - using
allwhen only the backend should read the value - putting unrelated settings into one large JSON blob too early
Keep the first parameter small and easy to verify. You can expand the shape later once the read path is working.
First parameter FAQ
Section titled “First parameter FAQ”What is the best first parameter to create?
Section titled “What is the best first parameter to create?”A boolean flag such as Features:Checkout is usually the easiest first choice.
It is simple to verify and immediately demonstrates the feature-flag side of Nona.
When should I use boolean instead of text?
Section titled “When should I use boolean instead of text?”Use boolean when the value is really acting as a flag or kill switch.
If the value is freeform content or a label, use text instead.
Should I use client, server, or all first?
Section titled “Should I use client, server, or all first?”Use the narrowest scope that matches the real read surface.
For many frontend or mobile tests, client is the easiest first scope. For backend-only values, use server.
Should I start with a JSON value?
Section titled “Should I start with a JSON value?”Usually no.
A simple boolean or text value is easier to validate first. Add JSON once the basic read path is already working.
Next: Create an API key