Help Center

Import: Salesforce Commerce Cloud - Connecting Salesforce Commerce Cloud to GoDataFeed

Bryan Falla
Bryan Falla
  • Updated

In order to connect your Salesforce Commerce Cloud data to GoDataFeed, you’ll need to configure the GoDataFeed API client accordingly and then connect to the Salesforce Commerce API.

If you have already connected a store to GoDataFeed and you are looking to setup a Second store front from the same server, then simply copy the import settings and change the Store front url, catalog id, and site id. You do not need to create an additional api client.

  • If you've never set up an import in GoDataFeed, click "Connect Primary Source" on the 'Dashboard' page > select Salesforce Commerce Cloud > click Connect

    2021-12-08_17_26_24-GoDataFeed_App.png


    If you've set up an import previously, navigate to the 'Import' tab > select 'Primary source', click the lock button (verify that you understand the effects of changing your source) > set Import source to 'Salesforce Commerce Cloud' > click 'Connect'

    import-source-salesforce.png

  • Acknowledge that any previously configured import settings will be modified

    Connection.png

  • Follow steps 3a - 3n to configure the following fields:

    image12.png

     

    3a: Login to Salesforce Commerce Cloud Account Manager

    3b: Navigate to Account Manager > 'Organization' and verify Salesforce has assigned a realm to your organization

    b.png

    3c: Navigate to Account Manager > API Client and click "Add API Client"

    c.png

    3d: Set display name to "godatafeed"

    3e: Create a password with at least 12 characters (numbers & letters — e.g. 123456789abc)

    Add_API_Client.png

    3f: Set organization (click "Add" > assign your organization)

    Assign_Organization.png


    3g:
    Set roles (click "Add" > assign Salesforce Commerce API)

    Assign_Roles.png


    3h:
     Click the filter icon on the Salesforce Commerce API role

    Assign_Roles__2_.png

    3i. Select the tenant URL for your commerce store instance. Make note of your Tenant Id, a combination of your realm Id and instance Id and is part of your URL example: “zybv-prd” 

    Roles.png

    3j. Add default scopes:

    roles
    tenantFilter
    profile
    sfcc.products.rw
    sfcc.catalogs.rw

    3k: Add allowed scopes:

    roles
    tenantFilter
    profile
    sfcc.products.rw
    sfcc.catalogs.rw

    3l: Select your organization

    Access_Control.png

    3m: Set the Redirect URL: https://app.godatafeed.com/connect/SalesforceCommerceCloud

    3n: Click "Save"

    mceclip0.png

    3o: Update the API Client Id, API Client Password, and API Client Tenant Id fields and click "Connect API Client"

    image12.png

    3p: Check parameters if something is not configured correctly

    3q: Next, make sure your user account has access to Commerce API > go to "User" and select your user email from the list

    mceclip0.png

    You will see a list of roles that you have access to and you can add additional roles as well.

    mceclip2.png

    * Important: Make sure your user account has the following roles and assign the instance in the filter to the roles

    blobid0.png

    blobid1.png

    At the end of the setup you will be required to login to Salesforce commerce cloud and approve the GoDataFeed app. The commerce cloud API requires these user roles so that we can import your product catalog.

  • Follow steps 4a - 4d to configure the following fields:

    image19.png

    4a: Go to 'Business Manager' for your store

    4b: Navigate to 'Administration' > 'Site Development' > 'Salesforce Commerce API Settings'

    4c: Click "Request Short Code" and use these values for the next step

    image14.png

     

    4d: Update the Shortcode for Commerce API, Organization Id for Commerce API, and Base URL for your store fields and click "Next"

    image19.png

    4e: Check parameters if something is not configured correctly (we are looking for catalogs in your store that have assigned sites)

    Connect_to_Salesforce_3.png

  • Select the 'Catalog' and 'Site' you would like to import data from

    Select_your_catalog.png

  • User is redirected to login to Account Manager and authorizes GoDataFeed to make API calls

  • User is redirected back to GoDataFeed and the import begins

    Catalog.png


    If the import is not able to download your products, please review that the selected Catalog Id has products, and the Locale setting is correct for your instance. In GoDataFeed these settings can be found under the 'Import' tab > 'Primary Source'.

    You can find your locale setting inside of commerce cloud: 'Merchant Tools' > 'Site Preferences' > 'Locales'
    Example: en_CA

    mceclip3.png

 


All done! 

Your Salesforce Commerce Cloud data is now connected to GoDataFeed.

Contact our support team if you have questions or need import assistance

Open support ticket

Was this article helpful?

0 out of 1 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.