> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/install-the-cartridge.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Install the cartridge

Add the Purple Dot cartridges to an SFCC site, set preferences, and connect the instance in the Merchant Portal.

For what the cartridge does, see [How Purple Dot works with SFCC](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/how-purple-dot-works-with-sfcc.md#the-cartridge).

## Before you start

* You can change the cartridge path and site preferences in Business Manager.
* You have the public API key and shared secret from **Settings** > **Integrations** in the Merchant Portal.
* Purple Dot has given you the cartridge to import. Ask your Purple Dot contact which version to import.

The cartridge is built for SFCC API version 22.6, compatibility mode 21.7, and SFRA 6.0.0. It also runs on SiteGenesis sites.

## Steps

1. Import the cartridges into a UX Studio workspace and upload them to the instance.
2. Assign them at the start of the site cartridge path. In **Administration** > **Sites** > **Manage Sites**, open the storefront site, then **Settings**.

{% tabs %}
{% tab title="SFRA" %}
Add `int_purpledot:int_purpledot_sfra:` at the start of the path. The site still needs `storefront_base`.
{% endtab %}

{% tab title="SiteGenesis" %}
Add `purpledot_sg_changes:int_purpledot_controllers:int_purpledot:` at the start of the path. The site still needs `storefront_controllers` and `storefront_core`.
{% endtab %}
{% endtabs %}

3. Zip the cartridge `metadata` folder and import it under **Administration** > **Site Development** > **Site Import & Export**.
4. Open **Merchant Tools** > **Site Preferences** > **Custom Site Preferences** > **Purple Dot**. Turn on **Enable PurpleDot**. Enter **API key** and **Secret Key**. **Button style** and **Cart style** are optional CSS.
5. Append the cartridge's OCAPI permissions to the existing shop permissions under **Administration** > **Site Development** > **Open Commerce API Settings**. Do not replace permissions that are already there.
6. In the Merchant Portal, go to **Settings** > **Integrations**, open **Connected SFCC Store**, and select **Connect**. Enter the instance, the site, and the OCAPI client id and password. For a sandbox, also enter the sandbox username and password. Saving checks the credentials.
7. Export uses Shopper Login and API Access Service (SLAS) credentials as well. See [Upgrade to the 2024-08-29 release](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/upgrade-the-cartridge.md#upgrade-to-the-2024-08-29-release) if this site does not have them yet.

SFRA storefront edits for the button, cart, and self-service link are included in `int_purpledot_sfra`. SiteGenesis sites need the controller and template edits in the cartridge guide.

## Verify

**Purple Dot** appears under custom site preferences, and the Merchant Portal accepts the SFCC credentials. After a catalog import and a waitlist, an out-of-stock product shows a pre-order button. See [Import catalog and shipping rates](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/import-catalog-and-shipping-rates.md).

## Troubleshooting

* [The pre-order button is not showing](https://docs.getpurpledot.com/troubleshooting/storefront-and-checkout/pre-order-button-is-not-showing.md)
* [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)

## Related

* **Concept:** [How Purple Dot works with SFCC](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/how-purple-dot-works-with-sfcc.md)
* **Do this:** [Import catalog and shipping rates](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/import-catalog-and-shipping-rates.md), [Upgrade to the 2024-08-29 release](https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/upgrade-the-cartridge.md#upgrade-to-the-2024-08-29-release)
* **Fix it:** [The pre-order button is not showing](https://docs.getpurpledot.com/troubleshooting/storefront-and-checkout/pre-order-button-is-not-showing.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/e-commerce-platforms/salesforce-commerce-cloud/install-the-cartridge.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
