> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/shopify/salesforce-commerce-cloud/cartridge-installation/composable-storefront.md).

# Composable Storefront

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th><th align="center"></th></tr></thead><tbody><tr><td align="center"><h3><img src="/files/HO65mTfyqbD3ivGfW5C2" alt="" data-size="line"> SFCC PWA</h3></td><td align="center">The ESW PWA cartridge is developed for use with the SFCC PWA (SFCC Progressive Web-App) Kit. To use this cartridge make sure you already have a working PWA environment</td></tr><tr><td align="center"><h3><i class="fa-github-alt">:github-alt:</i> Github</h3></td><td align="center"><a href="https://github.com/SalesforceCommerceCloud/pwa-kit">The Salesforce Commerce Cloud PWA Kit provides a modern, headless front-end framework for building Progressive Web App (PWA) storefronts on SFCC.</a></td></tr></tbody></table>

## Installing the Cartridge (PWA)

Follow these steps to install the ESW PWA cartridge for the first time:

{% stepper %}
{% step %}

### Clone the Repository

Clone the ESW cartridge repository to your local development environment.
{% endstep %}

{% step %}

### Import the Cartridges

Import the following cartridges into your workspace:

* `int_eshopworld_pwa`
* `int_eshopworld_core`
  {% endstep %}

{% step %}

### Import Site Data

* Navigate to `Metadata > Sitesdata`
* Create a ZIP archive of the `sitesdata` folder (e.g., `sitesdata.zip`).
* Import ZIP file into your SFCC instance via `Business Manager > Administration > Site Development > Import & Export`
  {% endstep %}

{% step %}

### Assign Cartridges to the Site

Assign the `int_eshopworld_pwa` and `int_eshopworld_core` cartridges to the site’s cartridge path. The cartridge path sequence should look like this:

{% code title="cartridge path" %}

```rb
int_eshopworld_pwa: int_eshopworld_core: app_someother_cartridge
```

{% endcode %}
{% endstep %}

{% step %}

### Configure SCAPI

Add or update the SCAPI configuration as required to enable ESW endpoints for PWA storefront communication.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esw.com/shopify/salesforce-commerce-cloud/cartridge-installation/composable-storefront.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
