This topic explains how to create environments in LaunchDarkly.
You can manage your environments from a project’s Environments page. Here, you can add new environments to a project, for example, to give each developer on your team their own environment for local testing.
To add a new environment:

Confirm you’re creating the environment in the project where you want it to live. You cannot move an environment from one project to another.
Environment keys are unique to a specific project and environment. You may need the environment key when configuring certain integrations. Environment keys are permanent and you cannot reset them.
Requiring members to leave comments when they change flags or segments helps your organization understand why flags or segments look and behave certain ways.
When Require comments is enabled, members must leave a comment to explain their changes when they make changes from the Flags list in the LaunchDarkly user interface (UI). Comments are not required for changes made with the LaunchDarkly API.
Required comments are only available to customers on select plans. To learn more, read Required comments.
Requiring members to confirm that they wish to make changes may help prevent them from changing the wrong flag or segment inadvertently. To learn more, read Required confirmation.
The TTL setting checkbox only applies to environments using the PHP SDK. To learn more, read TTL settings.

The new environment appears on the Account settings page.
Customers on a Foundation, Enterprise, or Guardian plan may create 300 environments per project, by default. If you are on one of these plans and need more environments, you can request an increase. To learn more, read How to right size when you are over LaunchDarkly system resource count limits.
If you are on a Developer plan, your account may be limited to three environments. If you are on a legacy Starter plan, your account may be limited to two environments. These limits cannot be increased.
You can also use the REST API: Create environment