---
schema_version: "1"
id: 01048f4768b3c325496d2ccfbd7a9da837ed0edb896052d715e03c94ad0e0366
title: Salesforce Commerce Cloud GitHub Repositories and Access
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/site-development/b2c-github-repo-access.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-github-repo-access.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0a7a53fdb84d17a59348c4939abd2af30016a71fbaf561c677498f34416d04a7
products:
  - Composable Storefront
  - Salesforce APIs
---
# Salesforce Commerce Cloud GitHub Repositories and Access

Commerce Cloud maintains a GitHub organization to share code and artifacts with Commerce Cloud customers and partners: https://github.com/SalesforceCommerceCloud

The org is the primary place where code is shared for using B2C Commerce and includes public and private repositories.

Public repos are available to anyone that browses GitHub. This includes open source repos like [Storefront Next](https://github.com/SalesforceCommerceCloud/storefront-next-template), [PWA Kit](https://github.com/SalesforceCommerceCloud/pwa-kit), [Commerce API SDK](https://github.com/SalesforceCommerceCloud/commerce-sdk), and the [SFCC-CI](https://github.com/SalesforceCommerceCloud/sfcc-ci) command-line tool.

Private repos must be accessed by a GitHub user login that has been authenticated with Commerce Cloud. These repos contain code that is licensed, based on your Commerce Cloud license, and covered under your NDA. They aren't open-source. This includes closed source repos like [Storefront Reference Architecture](https://github.com/SalesforceCommerceCloud/storefront-reference-architecture).

**important:** If you access a private repo and aren't logged into GitHub with a Commerce Cloud authenticated account, you receive a 404 error from GitHub as if the repository doesn’t exist at all!

## Accessing Private GitHub Repos

To access private repos associate your GitHub account with Commerce Cloud using Account Manager:

1.  If you don't have a GitHub user account, create one from the [GitHub Sign Up](https://github.com/join) page.

    **note:** Your GitHub account doesn't need to be related to any Commerce Cloud or Salesforce account you already have. It can be something different.

2.  Enable two-factor authentication (2FA) for your GitHub account.

    To maintain trust, Salesforce requires that anyone accessing the GitHub repositories has 2FA set up for their account. Follow the directions for [Configuring Two-Factor Authentication](https://docs.github.com/en/github/authenticating-to-github/configuring-two-factor-authentication) on GitHub, and complete that process.

    **note:** This is separate from Commerce Cloud or Salesforce two-factor authentication. Use any mechanism for 2FA for your GitHub account.

3.  With a valid and logged in GitHub user account with 2FA configured, associate that account with Commerce Cloud opening the [Salesforce Commerce Cloud Single Sign On](https://github.com/orgs/SalesforceCommerceCloud/sso) page. This connects your GitHub user account to your Account Manager user account.

With the process complete, your GitHub account is allowed access to Salesforce Commerce Cloud private repositories. You’re asked to authenticate with your Account Manager credentials when you attempt to access private repositories.

## GitHub Inactivity and User Maintenance

GitHub users who have been [inactive](https://docs.github.com/en/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/managing-dormant-users) for 90 days are [removed](https://docs.github.com/en/organizations/managing-membership-in-your-organization/removing-a-member-from-your-organization) from the org.

**important:** Removed users lose access to private forks of the org's private repos.

Users who are removed as a result of this inactivity receive an automated email from GitHub, and can rejoin by authenticating with their Account Manager credentials in the opening the [Salesforce Commerce Cloud Single Sign On](https://github.com/orgs/SalesforceCommerceCloud/sso) page.
