Aller au contenu principal

Onboarding with Salesforce Commerce Cloud

This guide walks you through onboarding to Rokt Catalog as a Brand using Salesforce Commerce Cloud (SFCC).

Create your accountLien direct vers Create your account

The email and password you create on this step are used to log in to Catalog going forward.

Select Salesforce Commerce Cloud as your integration typeLien direct vers Select Salesforce Commerce Cloud as your integration type

Complete your brand profileLien direct vers Complete your brand profile

Set your desired partnership termsLien direct vers Set your desired partnership terms

Terms listed here are displayed on your profile for potential Partners to see. You always have the chance to renegotiate or set new terms before a partnership is established.

Salesforce Commerce Cloud setupLien direct vers Salesforce Commerce Cloud setup

You need to provide 5 pieces of information to complete onboarding. Below are instructions for where to find each.

1. Organization ID and Short CodeLien direct vers 1. Organization ID and Short Code

These are found in SFCC Business Manager. You must have the Business Manager Administrator role in Account Manager and know the Business Manager URL to access this information.

Go to Administration > Site Development > Salesforce Commerce API Settings.

2. Site IDLien direct vers 2. Site ID

This is also found in SFCC Business Manager.

Go to Administration > Sites > Manage Site and take note of the ID for the site you want to enable API access for.

3. API Client ID and PasswordLien direct vers 3. API Client ID and Password

You need to create an API client and share these credentials with Catalog to grant API access for your shop. You can read more at the Salesforce Help Center.

  1. Log into SFCC Account Manager.

  2. Go to API Client > Add API Client.

  3. Enter a display name and create a password. Take note of this password to share with Catalog (this is the API Client Password).

  4. Go to the Organizations section > select Add > select the organization of the instance you want to enable access for.

  5. Go to the Roles section > select Add > go to the Salesforce Commerce API category > select the Salesforce Commerce API.

  6. Select the filter button on the right, select the organization and the instances you want to enable access for.

  7. Go to the Open ID Connect section.

  8. Paste the following scopes into the Default Scopes section:

    mail
    roles
    tenantFilter
    profile
    openId
  9. Paste the following scopes into the Allowed Scopes section:

    sfcc.catalogs
    sfcc.catalogs.rw
    sfcc.inventory.availability
    sfcc.inventory.availability.rw
    sfcc.inventory.impex-graphs
    sfcc.inventory.impex-inventory
    sfcc.inventory.impex-inventory.rw
    sfcc.inventory.reservations
    sfcc.inventory.reservations.rw
    sfcc.orders
    sfcc.orders.rw
    sfcc.products
    sfcc.products.rw
  10. Select client_secret_post for Token Endpoint Auth Method and ensure Access Token Format is set to JWT.

  11. Select Save.

  12. Find your new API client in the table and take note of the value in the API Client ID column to share with Catalog.

4. Configuring Delta ExportsLien direct vers 4. Configuring Delta Exports

  1. Go to Administration > Site Development > Delta Exports. If Delta Exports is not visible, reach out to SFCC Support.

  2. Select New > enter "Canal Catalog Export" (case sensitive) as the name > select Create.

  3. Enter "canal" (case sensitive) in the Consumers section > select Export Full Base Products.

  4. Expand the Catalogs section > select the catalog you are importing products for.

  5. Select Apply.

  6. Go to the Schedule section > select the Enabled checkbox > set Catalog and Pricebook to "Every 1 hours" > select Apply. For inventory, set "Every" to every 10 minutes.

  7. Repeat steps 2–6 for "Inventory" and "Pricebook", using export titles "Canal Inventory Export" and "Canal Pricebook Export".

  8. Go to Administration > Organization > WebDAV Client Permissions.

  9. Add the following to your permissions, replacing API_CLIENT_ID with the API client ID you generated:

    {
    "clients": [
    {
    "client_id": "{API_CLIENT_ID}",
    "permissions": [
    {
    "path": "/impex/src/platform/outbox/canal",
    "operations": [
    "read"
    ]
    }
    ]
    }
    ]
    }
  10. Select Save.

5. Configuring SLASLien direct vers 5. Configuring SLAS

You must have the SLAS Organization Administrator role to complete this step. This can be assigned in Account Manager. Read more in the Salesforce reference.

  1. Go to the following URL, replacing short-code with your short code:

    https://{{short-code}}.api.commercecloud.salesforce.com/shopper/auth-admin/v1/ui/
  2. Select Token in the top nav.

  3. Select Copy admin token to clipboard (it expires after 30 minutes).

6. Data ImportsLien direct vers 6. Data Imports

  1. Log into SFCC Business Manager, go to Merchant Tools and select the site you are connecting to Catalog.
  2. Go to Products and Catalog > Import and Export.
  3. Select Export under the Catalog section.
  4. Select the catalog you want to export, enter a name for the export file, and select either "Export entire catalog" or "Export specific products" (we recommend exporting the entire catalog).
  5. Select the catalog name you entered, download the generated catalog XML file, and upload it to Catalog.
  6. Repeat steps 3–5 for the pricebook export.
  7. Repeat steps 3–5 for the inventory list export. Note: Only select a single inventory list. This must be the inventory list assigned to the site you are integrating with Catalog.

You might also find these helpfulLien direct vers You might also find these helpful

Cet article vous a-t-il été utile ?