---
schema_version: "1"
id: 5b1d06980e33165c55be142128636d2daefde89abe0aece8b31ec5c7c9cbb4ee
title: Create a Project from a Repository
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/codebuilder/guides/files/source-control/codebuilder-create-project-from-repo.md
canonical_url: https://developer.salesforce.com/docs/platform/code-builder/guide/codebuilder-create-project-from-repo.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: f3b75a7a2161537a607260c035eb2a7dbcb3c60da721be41153692d8cdf5ae5e
products:
  - Agentforce Vibes IDE
  - salesforcedx
---
# Create a Project from a Repository

If you already have a DX project in a GitHub repo, you can clone the repo into your Code Builder environment.

**note:** To clone a repo using SSH, the Code Builder environment needs an SSH key that is recognized by GitHub. To configure the SSH key, follow the [Connecting to GitHub with SSH](https://docs.github.com/en/authentication/connecting-to-github-with-ssh) instructions on the GitHub website. You must complete these steps before you can clone a repo.

To create a project from a GitHub repo, let's use the [dreamhouse-lwc](https://github.com/trailheadapps/dreamhouse-lwc) sample app.

1. Click the hamburger icon (![hamburger icon](https://developer.salesforce.com/media/codebuilder/icon_hamburger.png)) in the Activity Bar and select **Terminal > New Terminal**.
2. Clone the `dreamhouse-lwc` sample app repo into `/home/codebuilder/` by running:

```text
git clone git@github.com:trailheadapps/dreamhouse-lwc.git
```

3. Click the hamburger icon in the Activity Bar and click **File > Open Folder**.
4. Select the `dreamhouse-lwc` folder that was generated by the clone command.

The `dreamhouse-lwc` project is now open and ready to use in Code Builder!

## See Also

- [Create Projects](https://developer.salesforce.com/docs/platform/code-builder/create-projects/codebuilder-create-projects.md)
- _Video_: [Setting Up Your Development Workflow with Code Builder](https://www.youtube.com/watch?v=RquIDBUsYno&list=PLgIMQe2PKPSKH5yWT57DSNVWjnD2CqA9j&index=3)
