Skip to main content

Import Cartridges

  1. Download the cartridge source code.
  2. Extract the directory and move the link_kleep folder at the same level as SFRA.
  3. You can remove the SFRA project from the Kleep connector (storefront-reference-architecture folder) — it is only used for testing.
image.png This should be the rendered cartridges structure: image.png
  1. Install dependencies:
cd /path/to/link_kleep
npm install
  1. Compile the frontend:
npm run compile
  1. Create a dw.json file in the same directory:
{
    "hostname": "...",
    "username": "...",
    "password": "...",
    "version": "..."
}
  • hostname — your sandbox, e.g. zzaa-001.sandbox.us01.dx.commercecloud.salesforce.com
  • username / password — your account manager credentials
  • version — the active code version in Administration > Code Deployment, e.g. version1
  1. Upload the cartridges:
npm run uploadCartridges
  1. Go to Administration > Development Setup > Folder Browser > Cartridges and verify the upload.

Assign Cartridges to the Site

  1. Go to Administration > Sites > Manage Sites. Select your site from the Storefront Sites list:
image.png
  1. Select the Settings tab. At the beginning of the cartridge path, add: int_kleep_sfra:int_kleep
image.png
  1. Go to Administration > Sites > Manage Sites and click the link in the Manage the Business Manager site section.
image.png
  1. Enter bc_kleep:int_kleep in the Cartridges textbox (separated by : if using multiple cartridges):
image.png

Import Metadata

  1. Go to Administration > Site Development > Site Import & Export.
  2. Upload kleep-metadata.zip containing the metadata folder.
image.png
  1. Select kleep-metadata.zip and finish the import.