Salesforce Commerce Cloud
Prerequisites for Configuring Salesforce Commerce Cloud Data Source
Account Requirements
- Active Salesforce Commerce Cloud account with appropriate permissions
- API credentials from API Integration setup
- Salesforce Commerce Cloud instance URL
- User account with necessary read/write permissions for:
- Product data
- Customer data
- Order data
Obtaining Authentication Credentials
1. Client ID and Client Secret
- Create a Connected App in Salesforce:
- Log in to Salesforce instance
- Go to Setup > Apps > App Manager
- Click New Connected App
- Fill in app details:
- Connected App Name (e.g., "SFCC Integration")
- API Name (auto-populated)
- Contact Email
- Enable OAuth Settings:
- Check Enable OAuth Settings
- Set Callback URL (e.g.,
https://yourapp.com/oauth/callback) - Select OAuth Scopes
- Click Save to generate credentials
2. Access Token
Request Authorization Code
https://login.salesforce.com/services/oauth2/authorize?
client_id={client-id}&
redirect_uri={redirect-uri}&
response_type=code&scope=full
Exchange for Access Token
Endpoint:
https://login.salesforce.com/services/oauth2/token
Parameters:
- grant_type=authorization_code
- client_id={client-id}
- client_secret={client-secret}
- code={authorization-code}
- redirect_uri={redirect-uri}
Configuring Salesforce Commerce Cloud Data Source
Select the Source Type as Salesforce Commerce Cloud
Fill in the required details:
Basic Configuration
- Client ID: Enter the Client ID from API Integration setup
- Client Secret: Enter the Client Secret from API Integration
- Access Token: Enter the generated Access Token
- Environment URL: Your SFCC instance URL
- Format:
https://instance.demandware.net
- Format:
Additional Configuration
- Start Date: Format: YYYY-MM-DD
- Data created after this date will be replicated
- Include Historical Data: Toggle to include data prior to Start Date
- Click on Test Connection to verify if the connection is established successfully.