The following steps help you install Data Hub for use with the Hello World tutorial.
Context
Follow this procedure to install the SAP Commerce Cloud Data Hub web application.
Procedure
- If you do not already have the latest SAP Commerce Cloud, download the ZIP file.
- Expand the ZIP file on your file system.
- Download the separate Data Hub ZIP file from the same location, and expand it into your SAP Commerce Cloud directory.
- Access and download the Data Hub software from the Download Center of SAP Service Marketplace. You may have to contact your S-User (SAP Super User). https://support.sap.com/en/my-support/users.html

- Copy the downloaded Data Hub ZIP file into your expanded SAP Commerce Cloud directory, at the same level as the hybris directory.
- From the command line, extract the Data Hub ZIP archive with the command unzip -u <filename.zip>, replacing filename.zip with the actual name of the downloaded file.
The -u option updates the existing hybris directory, and places all necessary Data Hub files in the hybris/bin/ext-integration/datahub subdirectory.
- Find the Data Hub version number in the name of the WAR file located in <HYBRIS_HOME>/hybris/bin/modules/datahub/web-app. Update the datahub-webapp.xml file created in Install the Basic Prerequisites.
- Data Hub implements HTTPS for all communications to its endpoints and with Tomcat. The Data Hub side of the HTTPS communications is on by default. However, you must add HTTPS authentication to Tomcat by reconfiguring. See https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html
.
- Go to a command line and change directory to <TOMCAT_HOME>/bin.
- Launch Tomcat by running <TOMCAT_HOME>/bin/startup.sh from the command line. When Tomcat launches, the Data Hub WAR file is expanded.
- Stop Tomcat by typing CTRL-C and then running <TOMCAT_HOME>/bin/shutdown.sh from the command line. With Tomcat stopped, you can further configure Data Hub.
- From the command line, change directory to /opt/datahub/config.
- With your favorite text editor, create a file named local.properties and save it to /opt/datahub/config.
- Open the local.properties file. By default, the following properties are set to false.
datahub.cleanup.rawitem.enabled=true
datahub.cleanup.canonicalitem.enabled=true
datahub.cleanup.targetitem.enabled=true
datahub.cleanup.publisheditems.enabled=true