Skip to main content

Your First Feature

Overview

This article serves as a guide on how to create and manage Features within DevCycle. This will outline how to create and manage within the DevCycle Dashboard, however, features may also be created via the DevCycle Management API.

info

If you are coming from another Feature Flagging or Feature Management tool, be sure to check out the DevCycle Feature Importer

Creating a Feature

On the DevCycle Dashboard, the "Feature Management" page can be accessed at any time via the button on the top bar. In this page there is a button to "Create new Feature". Additionally, there is a "+" button in the header bar. Both of these buttons can be used to begin the Feature creation process on the DevCycle Dashboard.

To create a Feature:

  1. Click either the "+" button or the "Create new Feature" button

DevCycle Feature Dashboard with arrows highlighting the create button on the page as well as the persistent button in the top bar

  1. A screen for deciding your Feature Type will now appear:

Screenshot of types modal showing different feature types

  1. Choose your feature type to begin the creation process. To read more about the feature types and their uses, read DevCycle Feature Types

  2. After choosing a type, the information screen will appear:

Modal which shows information necessary to create a Feature

  1. Enter a descriptive Feature Name

  2. Enter a unique feature key. This key is how the feature and is variables will be referenced in code. (A key will be automatically suggested based on the entered name.)

  3. Enter a unique Initial Variable Key. Initial Variable Key allows you to define an initial variable key that can differ from the new feature key name. As you type in the Feature Name, the feature Key and the Initial Variable Key will mimic whatever input is entered in the Feature Name field formatted in kebab case.

  4. Select the Initial Variable Type. Initial Variable Type allows you to select the type of variable for the initial variable created along with your feature (Boolean, JSON, String, or Number).

  5. Optionally, you may choose to provide a detailed description of the feature.

  6. Click "create"

You have now created a Feature within your project!

Targeting Across Environments

Note: When a feature is created within DevCycle, it is automatically created across all environments that are defined in your project. To read more on managing environments, read Managing Environments.

Within DevCycle, all targeting rules of each feature are specific to Environments. This allows you to provide different rules and access across every stage of the feature's deployment. All of an Environment's targeting can be managed directly within the Feature's page itself.

Feature sidebar highlighting Environments

Once it is known how the feature should be managed and who it should target, you can now turn the feature on.