> This page is for Applications Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.humansecurity.com/llms.txt.

# Configuring the Cartridge

## Setting the Cartridge Preferences:

1. In **Merchant Tools** select **Site Preferences** -> **Custom Preferences**.
2. In the **Custom Site Preference** Groups, click *HUMAN\_\_Config*.
3. In the top left section of the form, select your current Instance Type (default is Sandbox).
4. Enter the following three (3) mandatory parameters:
   * **AppID** - The HUMAN custom application id in the format of *HUMAN\_\_**\_\_*** .
   * **Authentication Token** - The JWT token used for REST API. The Authentication Token is generated in HUMAN Portal -> **Application** page.
   * **Cookie Key** - The key used by the cookie signing page. The Cookie Key is generated in the HUMAN Portal -> **Policy** page
5. If you are using SGJC, enter the SGJC controllers cartridge name in the **SGJC Cartridge Name** property.
6. Enter any of the optional [configuration options](/applications/salesforce-commerce-cloud-cartridge/configuration)
7. Click *Save*.

## Adding the JavaScript Sensor:

The HUMAN JavaScript sensor complements the cartridge and provides visibility into browser activities.

1. Login to the [HUMAN Portal](https://console.perimeterx.com/).
2. Navigate to **Admin** -> **Applications**.
3. In **Snippet**, open the *Third Party Sensor (\_\_HUMAN* *Server)* accordion item and click *Copy Snippet*.

## Using a Tag Manager

* If you are already using a tag manager, add the snippet as a new tag.

## Using the Snippet Directly

* Add the snippet to every page to be protected by HUMAN, or add it to a general template (such as `header.isml`).