---
schema_version: "1"
id: cd94c70f69352db9b62ae91ef9a7d5551a92e2e3c177c22eae78f415ee142700
title: Connect B2C Commerce and Salesforce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/om_connect_b2c_and_salesforce_oobo.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.om_connect_b2c_and_salesforce_oobo.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e308f7aee3d6a79c3464d0f77d64436e9eb9d785ac54fcc56ac9007c923df856
description: To get product and pricing data from B2C Commerce, set up a connection between B2C Commerce and your Salesforce org.
products:
  - Commerce
  - Salesforce Order Management
release: "264"
---
# Connect B2C Commerce and Salesforce

To get product and pricing data from B2C Commerce, set up a connection between B2C Commerce and your Salesforce org.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.om_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

Previous step: [Add Country and State Picklists](https://help.salesforce.com/s/articleView?id=commerce.om_add_country_state_picklists_oobo.htm&release=264.0.0&type=5 "To let customer service representatives (CSR) select state and country codes for an address from a dropdown menu, enable state and country picklists. If you don’t enable picklists, the CSR must enter the state and country code into the address, which can introduce errors.")

See all steps in [Order on Behalf Of Setup](https://help.salesforce.com/s/articleView?id=commerce.om_order_on_behalf_of_setup_oobo.htm&release=264.0.0&type=5 "After you’ve installed and configured either an Order Management or B2B Commerce org or B2C Commerce instance, there are some Order on Behalf Of (OOBO) specific steps to take. Many of these tasks are the same whether you’re using Order Entry or OOBO. However, there are a few steps that are specific to the individual products. Complete the steps for your product and organization.") or [Exchanges with RMA Setup](https://help.salesforce.com/s/articleView?id=commerce.om_exchanges_rma_setup.htm&release=264.0.0&type=5 "After you have installed and configured either an Order Management, B2B Commerce, or D2C Commerce org, configure Exchanges with RMA Returns.").

If you’ve changed your Business Manager certificate, open a Salesforce Support case to update the B2C Commerce URL before provisioning the connection to B2C Commerce. Custom URLs for B2C Commerce are supported only in production instances.

This video shows the steps for Order on Behalf Of. The steps are the same for Exchanges with RMA.

1. Log in to the B2C Commerce Business Manager.
2. Go to **Administration** | **Global Preferences** | **Salesforce Order Management Configuration** and copy the Tenant ID.
3. In a separate window, log in to Salesforce as the System Administrator.
4. From Setup, in the Quick Find Box, search for and select **B2C Commerce Connections**. If the link doesn’t appear, try logging out and back in again.
5. Click **New Connection**.
6. In the Connection Request section, enter the connection name and the B2C instance ID. The instance ID is the tenant ID shown in Business Manager.
7. Click **Save**.
8. In the Allow Tenant Linkage window, click **Allow**.
9. From Available Connection Type, move Cart and Checkout Data to Selected Connection Type.
10. Click **Save**. Wait to receive an email at your System Administrator email address indicating that the provisioning is complete.
11. After you receive the email confirmation, refresh the B2C Commerce Connections page.
12. In the Tenant Connections section, find your connection.
    
    If the connection was provisioned successfully, the status is Provisioned. If the provisioning failed, the status is Failed and information is in the Failed Reason column. If you can't solve the issue, open a case with Salesforce Support, and provide this information.
    
    – The details listed in the Failed Reason column 
    
    – Whether the connection is new or you clicked its Retry link 
    
    – Your B2C Commerce instance ID
    
    – Your Salesforce org ID
13. Activate the integration.
    1. Log in to the B2C Commerce Business Manager.
    2. Go to **Administration** | **Global Preferences** | **Salesforce Order Management Configuration**.
    3. Select **Activate Connection**.
    4. Click **Save** and confirm.

Repeat these steps for each B2C Commerce instance.

If you’re setting up Order on Behalf Of, the next step is [Add a Web Store Inventory Source for Order on Behalf Of](https://help.salesforce.com/s/articleView?id=commerce.om_webstore_inventory_source_oobo.htm&release=264.0.0&type=5 "To use reservations when placing an order on behalf of a shopper, add a web store inventory source. Reservations help reduce out-of-stock errors by holding a product as soon as it’s placed in a cart."). If you’re setting up Exchanges with RMA, the next step is [Add a Web Store Inventory Source for Exchanges with RMA (B2C Only)](https://help.salesforce.com/s/articleView?id=commerce.om_webstore_inventory_source_exchanges_rma.htm&release=264.0.0&type=5 "To use reservations when adding a new item to an exchange order, add a web store inventory source. Reservations help reduce out-of-stock errors by holding a product as soon as it’s placed in a cart.").

#### See Also

- [Order on Behalf Of Setup](https://help.salesforce.com/s/articleView?id=commerce.om_order_on_behalf_of_setup_oobo.htm&release=264.0.0&type=5 "After you’ve installed and configured either an Order Management or B2B Commerce org or B2C Commerce instance, there are some Order on Behalf Of (OOBO) specific steps to take. Many of these tasks are the same whether you’re using Order Entry or OOBO. However, there are a few steps that are specific to the individual products. Complete the steps for your product and organization.")
- [Video: Order on Behalf Of Setup](https://www.youtube.com/playlist?list=PLFNbZmUNjID6fmv7KZypuUcS32g2Tseu2)
- [Exchanges with RMA Setup](https://help.salesforce.com/s/articleView?id=commerce.om_exchanges_rma_setup.htm&release=264.0.0&type=5 "After you have installed and configured either an Order Management, B2B Commerce, or D2C Commerce org, configure Exchanges with RMA Returns.")
- [Exchanges with RMA Returns Overview](https://help.salesforce.com/s/articleView?id=commerce.om_exchanges_rma_overview.htm&release=264.0.0&type=5 "An exchange with an RMA return provides a more robust exchange experience for customers. Unlike a simple exchange, which only allows for same-cost variant exchanges, an exchange with RMA processes the return of the previous product before letting a customer service representative (CSR) order a new item, enter a new delivery address, and select a shipping method, all on behalf of the user. Finally, the CSR can process any refund or additional funds needed from the customer.")