---
title: "カスタムのCommerce Engine環境を作成してください"
slug: "create-a-custom-commerce-engine-environment"
abstract: "カスタムCommerce Engine環境の作成方法。"
---
# カスタムのCommerce Engine環境を作成してください

Sitecore XCデフォルトの環境を使いたくない場合は、カスタムのCommerce Engine環境を作成できます。

Commerce Engine環境を作成するには:

1.  既存の環境JSONファイル(例: Plugin.Habitat.CommerceAuthoring-1.0.0.json)のコピーを作成します。
    
2.  カスタム環境名を反映するようにファイル名を変更してください。
    
3.  ファイルを開いて、古い環境名(例えば*Habitat*)のすべてのインスタンスをカスタム環境名に置き換えます。
    
4.  ArtifactStoreIdパラメータを一意のGUIDに変更してください。
    
5.  ポリシーセットやポリシー設定に必要な変更を行い、ファイルを保存してください。
    
6.  [Bootstrap the Commerce Engine](https://doc.sitecore.com/xp/ja/developers/101/sitecore-experience-commerce/bootstrap-the-commerce-engine.html "Bootstrap the Commerce Engine")を使って新しい環境をグローバルデータベースに読み込みます。
    
7.  Commerce Engineのwwwroot\\bootstrap\\Global.jsonファイルを開き、EnvironmentListコンポーネントに新しい環境のエントリを追加して、Business Tools上で環境が見えるようにします。
    
    ![Examples of policies in the Global.json file.](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/101/sitecore-experience-commerce/images/Global_json.png)
    
8.  IISマネージャーを開き、Commerce Engineのサイトを再起動してください。