DEV Community

Johnny Tordgeman
Johnny Tordgeman

Posted on • Originally published at Medium on

Let’s Develop with Salesforce Commerce Cloud — Part 1: Setting Up Your Development Environment

Thanks https://unsplash.com/@igormiske!

Already have the software? go straight to part 2!

Recently I got the chance to work on (and get certified 🎊 🎉 in) Salesforce’s eCommerce platform — Salesforce Commerce Cloud (SFCC for short). One thing I noticed almost immediately is the lack of community documentation of the platform, so I decided to document my road to developing a cartridge — a foundational concept of the Commerce Cloud Digital development architecture.

To kick things off, let’s set up the development environment we will use throughout our development process.

Step 1: Install the Necessary Software

Eclipse

Java JDK 8

Download and install Java 8 JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

UX Studio

Salesforce Commerce Cloud development and debugging is done through an Eclipse plugin called UX Studio.

To install UX Studio:

  1. In Eclipse, select Help > Install New Software.
  2. Click Add. This will open the Add Repository dialog.
  3. Enter the following details:
  1. Check the box next to Salesforce Commerce Cloud and click Next.

  2. Continue through the Install Details dialog until you are asked to restart Eclipse. Congratulations, you are now one step closer to starting the cartridge development!

The following GIF shows the entire installation process:

Step 2: Connect to your sandbox server

Now that you have all the necessary software installed, let’s connect to our sandbox server.

  1. Change Eclipse to Digital Development perspective by clicking on the Window > Perspective > Open Perspective > Other, and select Digital Development.
  2. Click on File > New > Digital Server Connection to open the new server connection dialog.
  3. In the New Digital Server Connection dialog, fill in the server host name, user name (same as your Business Manager user name) and password (same as your Business Manager password) fields.
  4. Once done, click on Next.

  1. In the Code Staging Directory dialog, choose version1 for Target version directory and click Finish.

  1. The Digital API will begin to download at this point (you can see the progress on the bottom right corner of Eclipse). Wait for it to complete.

Congratulations 🎉! You now have a fully working development environment for SFCC.

In part 2, we will use our environment to create a storefront (the term SFCC uses for an online commerce experience/website) that will serve as the host for our developed cartridge.

To read more about SFCC and its capabilities, refer to the official documentation located at:

https://documentation.demandware.com/DOC2/index.jsp

Top comments (0)