Create a custom Commerce Engine environment
You can create a custom Commerce Engine environment if you do not want to use the Sitecore XC default environments.
To create a Commerce Engine environment:
-
Make a copy of an existing environment JSON file (for example,
Plugin.Habitat.CommerceAuthoring-1.0.0.json
). -
Rename the file to reflect your custom environment name.
-
Open the file and replace all instances of the old environment name (for example, Habitat) with the your custom environment name.
-
Change the
ArtifactStoreId
parameter to a unique GUID. -
Make any required changes to the policy set and policy configuration, and save the file.
-
Bootstrap the Commerce Engine to load the new environment into the Global database.
-
Open the
wwwroot\bootstrap\Global.json
file for the Commerce Engine and add an entry for the new environment in theEnvironmentList
component, to ensure the environment is visible in the Business Tools. -
Open IIS Manager, and restart the Commerce Engine site.