---
schema_version: "1"
id: be68133372228c29965bdceb31741110e3345db4d33a7eb9a87c0c46d6643695
title: Create On-Demand Sandboxes for B2C Commerce
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/control_center/b2c_cc_create_ods_instance.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c_cc_create_ods_instance.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bdbc9d3968d13674d721827119dbf84391e4fee3cc5be3b363e3d26daefe1c67
products:
  - Composable Storefront
  - Salesforce APIs
---
# Create On-Demand Sandboxes for B2C Commerce

To develop and test B2C Commerce instances, use on-demand sandboxes (ODS).

**note:** To create an on-demand sandbox, log in to Account Manager, and make sure you have the role `Sandbox_API_User` with a tenant filter in the format `<realm_id>_sbx`. For example, in the realm `abcd`, you see the Sandbox_API_User role with tenant filter `abcd_sbx`.

1. Log in to Control Center.
2. Select the realm where you want to add the ODS.
3. Click **Create on-demand sandbox**.
4. Complete the ODS Provisioning Request form.
   - Set the number of hours for the sandbox.
     - 0 (infinite time)
     - 24
     - 48
   - (Optional) To activate automatic start and stop actions, set **Auto Schedule** to true. Set the automatic actions to a dedicated time via the realm configuration API.
   - Set the resource allocation for the sandbox.
     - Medium (default)
     - Large
     - X-Large
     - XX-Large
       **note:** Setting the allocation to a large value consumes more credits.
   - Click **Create sandbox**. As the sandbox builds, the Control Center instance page shows the status as the sandbox builds (new, creating, starting, and system up and running).
