Skip to main content
Configuration features allow you to define a static, customer-specific value for a feature — such as how much storage or how many days of data retention a customer receives. This type is used when the feature’s value can vary across plans but isn’t usage-based.
Stigg currently supports configuration features that have numeric values. For example: number of log retention days.
There are two type of configuration features:
  • Integer Use this option for configuration feature that have numeric values.
  • Enum Use this option to grant customers access to one or more values from a predefined list.

Integer

To create an integer configuration feature:
  1. Open the Product catalog in the Stigg Console.
  2. Navigate to the Features section.
  3. Click + New feature.
  4. In the modal that opens, provide the following details:
    1. Name — The display name of the feature.
    2. Description (optional) — A short explanation of what the feature enables.
    3. ID — Automatically generated by Stigg and used to reference the feature in your application.
      You can override this value by clicking Edit and linking an existing feature.
    4. Feature type — Choose Configuration.
    5. Set the value type to Integer.
    6. If required, edit the singular and plural unit names — for example, day and days.
  5. Click Create to save the feature.

Enum

To create an enum configuration feature:
  1. Open the Product catalog in the Stigg Console.
  2. Navigate to the Features section.
  3. Click + New feature.
  4. In the modal that opens, provide the following details:
    1. Name — The display name of the feature.
    2. Description (optional) — A short explanation of what the feature enables.
    3. ID — Automatically generated by Stigg and used to reference the feature in your application.
      You can override this value by clicking Edit and linking an existing feature.
    4. Feature type — Choose Configuration.
    5. Set the value type to Enum.
    6. Define the possible values using a table or by pasting JSON or CSV.
    7. If required, edit the singular and plural unit names — for example, day and days.
  5. Click Create to save the feature.