---
url: /en/guide/first-repo.md
description: >
  A step-by-step guide to getting started on CNB by creating an organization and
  your first code repository to host enterprise assets and pipeline
  configurations.
---
An organization is a namespace for managing members and resources. Create an organization before creating repositories.
Repositories are used to host code and manage Cloud Native Build pipeline configurations.

## 1. Create an Organization

Click the `＋` in the upper right corner, select `Create Organization`, fill in the name and description,
then click `Create`.

![Create Organization](/images/quick-start/create-group.en.png)

## 2. Create a Repository

Click the `＋` in the upper right corner, select `Create Repository`, choose the parent organization,
fill in the repository name, select visibility as needed, then click `Create`.

![Create Repository](/images/quick-start/create-repo.en.png)

## 3. Initialize the Repository

Recommended to initialize your repository directly in the Cloud Native Development environment,
with no local Git setup needed:

* **Migrate existing repository**: Paste the old repository URL on the welcome page for one-click migration
* **Create new files**: Create README and other files directly on the web

![Cloud Quick Initialization](/images/quick-start/workspace.en.png)
