As a developer, you want to know what you are getting yourself into to make a conscious choice of what you will be doing for the years to come. And looking at the Salesforce core platform, it is straightforward to spin up a sandbox!
But does this also apply to Salesforce B2C Commerce Cloud? Long story short, no.
There are three scenarios in play that might apply to you.
You are new to Salesforce
You have been into web development for a while now (or are new to it), and e-commerce is “your thing.” People told you about Salesforce and how easy it is to set up an environment for free.
But much to your surprise, you can easily set up a Salesforce Developer Sandbox, but this has nothing to do with Salesforce B2C Commerce Cloud.
You scour google and Trailhead, and you find information on spinning up an On-Demand Sandbox. It talks about an account on Account Manager that you have to use to spin up a sandbox, but there are no details on how to access it.
A bit of history
Salesforce B2C Commerce Cloud wasn’t always named like that; it was called Demandware until the end of 2016, when Salesforce acquired it.
It is an entirely different “stack” and has no relation to the Salesforce Core Platform (but more and more integrations have been happening over the years).
Because of this, getting access to this system is an entirely different process.
I also wrote a post recently explaining the difference in the community.
So then ... how do I get access?
There is no automated system yet to spin up a sandbox easily. The only way I am aware of is to send an e-mail to [email protected]. Unfortunately, that is all I have. UPDATE: I have gotten the message from multiple people since I have written this article that they successfully obtained a trial using this e-mail address.
Since I have written this article, I have been given some information about the e-mail mentioned above. For now, this address is only for internal (Salesforce) use by Account Executives or Partner Managers.
The primary purpose is to provide a contact point for accounts that already have access to a trial sandbox for maintenance purposes.
So, for now, the message is as follows:
If you, however, plan on working on the storefront with PWA-Kit, that is an entirely different story.
This headless storefront has been made entirely open-source and provides an install command that will automatically connect you to a public sandbox so you can learn how to work with the APIs.
If you are a React developer, this is the playground for you!
Note: You can not access the Business Manager of this public sandbox; Salesforce manages it!
You are a Salesforce partner
Being a partner will make finding documentation a little easier and a lot more confusing, weird right! On the partner community, you will find two groups that contain helpful information on becoming a Salesforce B2C Commerce Cloud-enabled partner:
- B2C Commerce: A group that contains the documentation required to become “enabled.”
- Partner On-Demand Sandboxes: A group containing all information about ODS, more specifically the ones used by partners
You are a B2C partner or Client
Well, now, you should be set! If you are a B2C-enabled partner or a client, you can spin up as many On-Demand sandboxes as you want!
Watch out! If you go overboard, extra charges will be added to your contract!
Just read all of the available documentation, and you should be good to go: