---
schema_version: "1"
id: e6b5ec7266c809c146b3ff1fcb5b3034ba81f42d1e911c89a219c37ac069fd16
title: Add Locations and Location Groups
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/oci_impl_add_locations_b2b_d2c.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.oci_impl_add_locations_b2b_d2c.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9ae3f9d2604e9520d5437194728f5beefeda53b85e1e7c3649c3853eafe1acf7
description: Omnichannel Inventory is an external system that must know what location and location groups exist so it can track inventory properly. Set up your location graph by creating locations and location groups in your Salesforce org and committing them.
products:
  - Commerce
  - Omnichannel Inventory
release: "264"
---
# Add Locations and Location Groups

Omnichannel Inventory is an external system that must know what location and location groups exist so it can track inventory properly. Set up your location graph by creating locations and location groups in your Salesforce org and committing them.

For more information on working with locations and groups, see [Locations and Location Groups](https://help.salesforce.com/s/articleView?id=commerce.inv_locations_and_location_groups.htm&type=5&language=en_US) in Salesforce Help.

- **[Create a Location Graph for Omnichannel Inventory](https://help.salesforce.com/s/articleView?id=commerce.oci_impl_create_location_graph_b2b_d2c.htm&release=264.0.0&type=5)**  
    A location graph consists of locations and location groups. You can create the graph using the Omnichannel Inventory console app, Connect in Apex, or Connect REST API.
- **[Considerations for Importing Product Availability into Omnichannel Inventory](https://help.salesforce.com/s/articleView?id=commerce.oci_impl_importing_availability_data_b2b_d2c.htm&release=264.0.0&type=5)**  
    Keep these considerations in mind when initially importing product availability data for locations and location groups.
- **[Working With the Inventory Data File and Omnichannel Inventory](https://help.salesforce.com/s/articleView?id=commerce.oci_impl_using_import_file_b2b_d2c.htm&release=264.0.0&type=5)**  
    The inventory data file contains product availability data for the locations and location groups. Refer to these guidelines to create and manage the file.