1. Select an owner for the new repository, enter a repository name, select your preferred privacy setting, and click **Create repository from template**. 1. On the main page of the newly created repository, click the **{% octicon "code" aria-label="The code icon" %} Code** button and select the **Codespaces** tab. ![New codespace button](/assets/images/help/codespaces/new-codespace-button.png) If you don’t see this tab, {% data variables.product.prodname_github_codespaces %} isn't available for you. For more information about access to {% data variables.product.prodname_github_codespaces %}, see "[Creating a codespace](/codespaces/developing-in-codespaces/creating-a-codespace#access-to-github-codespaces)." 1. On the **Codespaces** tab, click **Create codespace on main**.