Quick Note on Environments:
Should you want to test out storefronts on a lower (non-production) environment, the procedure below will be the same, however, please let your CSM know so they can setup a separate test program in your LoudCrowd instance. This will help prevent test ambassadors from cluttering the stats at go-live. Furthermore, it will let LoudCrowd know we can mark your test data for removal after go-live.
Instructions:
Create API Client
To be completed by: Salesforce Admin
Log into Salesforce Account Manager and click “API Client” on the left hand side of the page.
Click “Add API Client”
Use these General Settings. For the password, use a long and random string. You will need this password for Step Two.
For the Organization and Role settings, select your organization and the Commerce Cloud API Role. After setting the role, make sure set the role filter to the exact instance of commerce cloud.
Use these OpenID Settings:
* Allowed Scopes:sfcc.orders
sfcc.products
sfcc.catalogs
sfcc.inventory.availability
sfcc.promotions
sfcc.promotions.rw
sfcc.source-codes
sfcc.source-codes.rw
sfcc.cdn-zones
Token Endpoint Auth Method: client_secret_post
Access Token Format: JWT
Create the Loudcrowd Integration
Log into Loudcrowd and go to the Integrations page.
Scroll to the bottom and add a new Ecommerce Integration.
Select the Salesforce tab in the modal and provide the following values from the image below.
Store Url: enter the base url of your website
Product Id Regex: This is used by our system to parse out the product id from the specific product detail page urls during the product picking process. Your CSM will help set this field up, so for now, just enter the default:
\\\\d+
Product URL Template: This is used to correctly link from displayed products back to the product detail page. It should be the URL of your product detail page with {{productId}} in place of the product id portion.
for example: if your product detail page for product 123456 is
https://example.com/123546.html
then enterhttps://example.com/{{productId}}.html
in this field
Short Code: to find this value:
Login to business manager and go to Administration
Go to Site Development
Go to Salesforce Commerce API Settings.
Copy the Short Code in this page
Organization ID: to find this value:
Login to business manager and go to Administration
Go to Site Development
Go to Salesforce Commerce API Settings.
Copy the Organzation ID in this page
Site ID: to find this value:
Login to business manager and go to Administration
Go to Sites
Go to Manage Sites
Copy the ID of the site
For Client ID and Client Secret, use the auto-generated API Client ID from Step One and the password you provided for Client Secret.