Prerequisites
Before you begin, verify that you have:- Access to your Salesforce Commerce Cloud instance.
- Administrative access to the Kameleoon platform.
Step 1: Import the Kameleoon cartridge
- Download the Salesforce x Kameleoon cartridge.
- Log in to Salesforce Business Manager.
- Go to Administration > Site Development > Code Deployment.
- Upload the
int_kam_pluginfile. - Go to Administration > Sites > Manage Sites.
- Add the cartridge to the Cartridge Path. Ensure you place
int_kam_pluginbefore other cartridges to prioritize it.
Step 2: Configure site preferences
- In Business Manager, go to Administration > Sites > Manage Sites.
- Select your site from the list.
- Go to Custom Preferences and locate the Kameleoon preferences group.
- Configure the following settings:
- Enable Kameleoon Web Application File: Select true to activate Kameleoon.
- Project Sitecode: Enter the sitecode found in the Kameleoon app for your project.
- Project Domain: Enter the domain displayed in your Kameleoon project.
Step 3: Verify the script injection
After you activate the cartridge and configure preferences, the system automatically injects the Kameleoon script into your site’s pages. To verify the integration:- Open your website in a browser.
- Inspect the source code and search for the Kameleoon script tag.
- Open the browser developer tools (Network tab) to confirm that the script loads successfully.
Step 4: Test the integration
- Create an experiment or personalization campaign in Kameleoon.
- Simulate and launch the campaign.
- Visit your SFCC site and verify that the experiment or personalization changes appear.