The first step in deploying an SAP Commerce Cloud site to the public cloud is to establishing a connection to the code repository.
SAP Commerce Cloud supports three types of public Git-based code repositories:
- GitHub
- GitLab
- Bitbucket
You can select the Repository link to navigate to the Repository Configuration page.

On the Repository Configuration page, you can configure the connection using either the SSH or HTTPS protocol. SAP Commerce Cloud retrieves the code from your repository using the selected protocol:
- SSH
- SAP Commerce Cloud automatically generates a public key. Copy this key and paste it into your code repository — typically found under the SSH and GPG keys tab on the Settings page. You will see a demonstration of this process shortly.
- HTTPS
- Create a personal access token from your code repository — typically found under the Personal Access Tokens tab on the Developer settings page. Copy and paste the token into the Repository Configuration page.
The repository configuration applies to all three environments — Development, Staging and Production — within the Cloud Portal. If you use different repositories across environments, note that SAP Commerce Cloud does not support separate configurations for each environment.
Note