Skip to main content

Import Cartridges

Kleep sends each release as kleep-sfcc-cartridge-release-<version>.zip. It holds two folders:
  1. Upload the four cartridges of cartridges/ to your code version as they are, with your usual tool (WebDAV, VS Code Prophet, sfcc-ci). There is nothing to build.
  2. Keep int_kleep/cartridge/static/, int_kleep/package.json and int_kleep/caches.json. Without static/, the Kleep button shows but the drawer does not open. Without package.json and caches.json, the custom caches are not declared.
  3. 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.
With a release ZIP, zip its metadata/ folder as kleep-metadata.zip.

Update to a new release

  1. Upload the cartridges of the new release, as in Import Cartridges. A new code version lets you switch back if needed.
  2. Import its metadata/ folder, as in Import Metadata. It adds the new site preferences and job parameters, and keeps the preference values you set.
  3. Check the settings listed for the release in the Changelog.
jobs.xml carries the default job settings. After the import, check the site assignment, schedule and step parameters of the Kleep jobs, see Export Jobs.