> ## Documentation Index
> Fetch the complete documentation index at: https://docs.global-e.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cartridges

Global-e ships six cartridges. Every Global-e site needs **`int_globale`** plus one storefront cartridge (or popups-only variant). See [Installation](/installation-sfcc) and [Configuration](/configuration-sfcc) for upload, metadata import, and Business Manager steps.

## Required cartridges

| Cartridge | Use with | Purpose |
| - | - | - |
| `int_globale` | Always | Core Global-e logic — never customize directly; extend via a storefront cartridge |
| `int_globale_sitegenesis` | `int_globale` | SiteGenesis Pipelines or Controllers storefronts |
| `int_globale_sfra` | `int_globale` | SFRA storefronts |
| `int_globale_headless` | `int_globale` | Headless / PWA / mobile (Shop OCAPI or SCAPI) — see [Hooks](/hooks-sfcc) § Headless |

<Warning>
  Choose **one** storefront cartridge per site (`int_globale_sitegenesis`, `int_globale_sfra`, or `int_globale_headless`). SFRA and SiteGenesis cartridges extend templates, models, and controllers for Global-e checkout and pricing.
</Warning>

## Optional cartridges

| Cartridge | Use with | Purpose |
| - | - | - |
| `int_globale_sitegenesis_popups` | `int_globale` only | Country Switcher on SiteGenesis sites **not** operated by Global-e (replaces `int_globale_sitegenesis`) |
| `int_globale_sfra_popups` | `int_globale` only | Country Switcher on SFRA sites **not** operated by Global-e (replaces `int_globale_sfra`) |

Popups cartridges provide a lightweight integration (Client JS SDK / Country Switcher) without full cross-border checkout.

## Cartridge path (summary)

Path order details are in [Configuration](/configuration-sfcc).

| Architecture | Typical path fragment (left = highest priority) |
| - | - |
| SiteGenesis | `int_globale_sitegenesis` : `int_globale` : … brand cartridges … |
| SFRA | … brand cartridges … : `int_globale_sfra` : `int_globale` : `app_storefront_base` |
| Headless (+ SFRA site) | … brand cartridges … : `int_globale_headless` : `int_globale_sfra` : `int_globale` : `app_storefront_base` |
| Headless only | `int_globale_headless` : `int_globale` |

<Warning>
  `int_globale` must appear **after** cartridges that override its controllers, models, or factories.
</Warning>

## Upload with the b2c CLI

From the repository root, deploy the cartridge set for your architecture to the active code version (replace the hostname with your sandbox):

| Architecture | Example command |
| - | - |
| SFRA | `b2c code deploy ./cartridges -c int_globale -c int_globale_sfra --server your-sandbox-hostname.demandware.net --reload` |
| SiteGenesis | `b2c code deploy ./cartridges -c int_globale -c int_globale_sitegenesis --server your-sandbox-hostname.demandware.net --reload` |
| Headless | `b2c code deploy ./cartridges -c int_globale -c int_globale_headless --server your-sandbox-hostname.demandware.net --reload` |
| SFRA popups only | `b2c code deploy ./cartridges -c int_globale -c int_globale_sfra_popups --server your-sandbox-hostname.demandware.net --reload` |
| SiteGenesis popups only | `b2c code deploy ./cartridges -c int_globale -c int_globale_sitegenesis_popups --server your-sandbox-hostname.demandware.net --reload` |

If you build client assets from source, run the compile scripts in `package.json` before deploy. See [Installation](/installation-sfcc) for metadata import order.

## Business Manager cartridge path

Organization-context job steps in **GlobaleSettings** (for example `GlobaleUpdateCachePriceBooksConfigHash` with `<context site-id="Sites"/>`) resolve scripts from the **Business Manager** cartridge path, not from storefront site paths.

Add **`int_globale`** to the BM path:

`Administration > Sites > Manage Sites > Business Manager (header link) > Settings > Cartridges`

Or use the B2C CLI (recommended for automation):

```bash theme={null}
b2c sites cartridges add int_globale --bm --position first
```

Only `int_globale` is required on the BM path for org job steps — storefront cartridges (`int_globale_sfra`, brand overrides, and so on) stay on each storefront site.

## Next steps

<Steps>
  <Step>
    [Installation](/installation-sfcc) — upload cartridges and import metadata
  </Step>

  <Step>
    [Configuration](/configuration-sfcc) — site cartridge path, site preferences, jobs
  </Step>

  <Step>
    [Metadata reference](/metadata-sfcc) — full site-preference and custom-attribute list
  </Step>

  <Step>
    [Production readiness](/readiness-assessment) — checklist for promoting the integration from Staging to Production
  </Step>
</Steps>
