Salesforce Commerce Cloud DSR Integration
Automating your privacy request fulfillment by integrating MineOS to SFCC
This integration allows you to automate privacy requests for SFCC.
What this integration does?
- Deletion requests are automated by deleting and suppressing user information held about a data subject.
- Copy requests are automated by Sending a copy of the user data held.
Before you start
- Make sure your MineOS plan supports integrations.
- Make sure you have sufficient permissions to create the OCAPI client
Creating SFCC OCAPI Credentials
- Create the API Client (Account Manager)
The Client ID and Secret are generated in the centralized user management system for Salesforce B2C Commerce Cloud, the Account Manager.
- Access Account Manager: Log in to Account Manager (requires the Account Administrator role).
- Navigate: Go to the API Client section/tab.
-
Generate Credentials: Click to Add API Client.
-
The system will automatically generate the unique Client ID.
-
You must create a strong, complex Client Secret (password).
-
- Secure Storage: Immediately record and securely store both the Client ID and Client Secret. Treat the Client Secret as you would a confidential password.
- Configure Data API Permissions
After creation, you must grant this new client access to the specific resources it needs (customer data) within the Commerce Cloud instance's Business Manager.
-
Access Business Manager: Log in to your Commerce Cloud instance's Business Manager.
-
Navigate to OCAPI Settings: Go to Administration > Site Development > Open Commerce API Settings.
-
Select Data API: Choose the Data API tab.
- Add Client Configuration: Find the setting for the Data API. You will likely modify a JSON document or use a structured interface to add a new configuration block for your generated Client ID.
- Define Access and Methods: Configure the following access rules under the Data API for your new Client ID:
Setting Value Purpose resources/customersand/customers/*This grants access to the core customer data endpoints. read_scope(usually global)Allows the client to retrieve customer data (read). write_methods["DELETE"](and potentially["POST", "PATCH"]if you're also creating/updating)Allows the client to perform deletion actions on customer records.
-
Configure MineOS Integration:
- Go to your Inventory in MineOS.
- Add Salesforce if it doesn't exist there.
- Add a new integration instance and choose SFCC OCAPI - DSR as the Integration Type. Click Setup Integration.

- Insert your Client Id and Secret from the previous section:

- Insert The customer list id you choose to retrieve and delete contact data from.
Note: To use multiple list ids, you can create how many integration instances you need.
- Click Finish.
That's all for today!
What's next?
Read more about the deletion process using integrations here.
Read more about the get a copy process using integrations here.
Talk to us if you need any help with Integrations via our chat or at portal@saymine.com, and we'll be happy to assist!🙂