---
schema_version: "1"
id: f7c6860d58b6990995d9e55830c6f1550e09a40454277a7ea8eb321e89e1ec19
title: Creating Data Files for Import in B2C Commerce
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_creating_data_files_for_import.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_creating_data_files_for_import.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: eccad5f752e010e8286297ff32413702618865b874b060d7ce9ee189ce5750b7
description: When the data structure and scope is understood and documented, map how to translate existing data into the B2C Commerce format. Also, map how to export the data from the B2C Commerce environment back into the customer's environment.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Creating Data Files for Import in B2C Commerce

When the data structure and scope is understood and documented, map how to translate existing data into the B2C Commerce format. Also, map how to export the data from the B2C Commerce environment back into the customer's environment.

Complete these tasks:

- Set up the B2C Commerce site
- Create an import file specification
- Define a file transfer, create, and import process

## Import File Specification

- Use the B2C Commerce schema as a starting point for building your file specification.
- To see a sample export file, export the file from the Reference Application.

## Transfer and Import Process

Identify the number of feeds required. For each data feed, determine:

- How files are transferred from the backend system
    - The file transfer mechanism
    - The frequency (consider impact to page caching performance)
- Where data is imported to
    
    You typically import data to staging, but if you import small datasets frequently, you can import them to both staging and production.
- Which import model works with your backend systems and satisfy your merchant's requirements (for example, full, incremental, update, or replace)?

Consider how this process impacts and relates to other processes, such as staging and indexing. The goal is to build a repeatable process that you can use to transform a merchant data file into the B2C Commerce XML file format. Run the process via a schedule or on-demand via the Business Manager.