# Installation

## Compiling Storefront Code <a href="#compiling-storefront-code" id="compiling-storefront-code"></a>

After downloading the package, execute the **npm install** or **yarn install** files in a console. Once this step is performed, execute the **npm run build** or **yarn build** files to compile the storefront code.

## Upload Cartridges <a href="#upload-cartridges" id="upload-cartridges"></a>

Upload the Verifone cartridges to the sandbox using WebDAV client (for example: VS Code, UX Studio for Eclipse, Web SCP). For the SFRA storefront the required cartridges are **bm\_verifone**, **int\_verifone**, **int\_verifone\_sfra** and **verifone\_sfra\_changes.** For the Sitegenesis storefront the required cartridges are **bm\_verifone**, **int\_verifone**, **int\_verifone\_sg** and **verifone\_sg\_changes.**

## Setup Cartridge Path <a href="#setup-cartridge-path" id="setup-cartridge-path"></a>

1. Navigate to **Business Manager** > **Administration** > **Sites** > **Manage Sites**.
2. Select the site you want to edit.
3. Select the **Setting** tab.
4. Add the cartridges to the left side of the cartridge path.
5. For SFRA add **verifone\_sfra\_changes:int\_verifone\_sfra:int\_verifone.**
6. For Sitegenesis add **verifone\_sg\_changes:int\_verifone\_sg:int\_verifone.**
7. After configuring the site path, return to *Business Manager* > *Administration* > *Sites* > *Manage Sites*.
8. Select business manager link.
9. Select the **Setting** tab.
10. Add the **bm\_verifone** cartridges to the left side of the cartridge path.

## Import Metadata <a href="#import-metadata" id="import-metadata"></a>

1. Create a zip archive of the metadata folder located in the package.
2. Go to **Business Manager** > **Administration** > **Site Development** > **Site import & export**.
3. Upload the metadata zip file using form.
4. Select the uploaded file.
5. Click on the **Import** button.
6. Click on the **Ok** button, when it appears.
7. Wait for import to conclude successfully.

Once the installation is complete, make sure to [configure the Verifone settings](/online-payments/plugins/salesforce-commerce-cloud/configuration.md).

## Download the Verifone Link Cartridge <a href="#download-the-verifone-link-cartridge" id="download-the-verifone-link-cartridge"></a>

<table><thead><tr><th>Release date</th><th data-type="files">Build</th><th>Release notes</th></tr></thead><tbody><tr><td>2023-01-10</td><td><a href="/files/u7bncGp5W8gN6wiQsZsO">/files/u7bncGp5W8gN6wiQsZsO</a></td><td><ul><li>Official release</li></ul></td></tr></tbody></table>


---

# Agent Instructions: 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:

```
GET https://docs.verifone.com/online-payments/plugins/salesforce-commerce-cloud/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
