b2c code deploy examples per architecture.
Upload cartridges
Uploadint_globale and the storefront cartridge for your architecture:
Upload to the active code version on your Salesforce B2C Commerce instance using the
b2c CLI. If you build client assets from source, run the compile scripts in the repository package.json before deploy.
Example (SFRA):
Import metadata
Import Global-e metadata before using cartridge functionality. Import in this order (all in MERGE mode):
Optional demo data under
metadata/demo/ is for sandbox examples only — do not import to production without review. Demo custom object types (DEMO_GLOBALE_*) are described in Metadata; do not rely on demo data or demo object records in production.
OCAPI templates live in metadata/ocapi-settings/:
wapi_shop_config.json— Shop API (headless / Commerce API)wapi_data_config.json— Data API for Global-e configuration sync and read access (mandatory for new integrations)
After import
1
Create the GLOBALE payment processor manually (not included in metadata) — see Configuration § Payment Processor
2
Configure site preferences and cartridge path — Configuration
3
Create merchant GUID credentials (
Globale-{merchantId}) in Business Manager — required for every Global-e account used on the instance; see Configuration → Merchant GUID credentials4
Create a dedicated Account Manager API client and apply Data OCAPI settings — Configuration → Data API; also required per Requirements
5
Run the GlobaleSettings job — Configuration § Scheduled Jobs; see Jobs for all cartridge jobs.
6
Site preference reference — Metadata

