<commit_before>---
title: How to share packages
---

# Sharing packages

While you can build and run Habitat packages without sharing them on a [depot](/docs/concepts-depot/), uploading them to a depot enables you to collaborate with the Habitat community. In addition, a depot is necessary to do [continuous deployment](/docs/continuous-deployment-overview/) with Habitat.

You interact with a depot by performing the following operations:

* Creating an account in a depot
* Creating an origin, or being invited to join an origin that already exists.
* Setting up `hab` to authenticate to the depot.
* Uploading the keys for that origin.
* Uploading one or more packages into that origin.

We will use the public depot provided by the Habitat project for this section. However, it is possible to run your own depot by installing and running the `core/hab-depot` package.

## Creating an account in the depot
<commit_msg>tweak language around private repos<commit_after>---
title: How to share packages
---

# Sharing packages

While you can build and run Habitat packages without sharing them on a [depot](/docs/concepts-depot/), uploading them to a depot enables you to collaborate with the Habitat community. In addition, a depot is necessary to do [continuous deployment](/docs/continuous-deployment-overview/) with Habitat.

You interact with a depot by performing the following operations:

* Creating an account in a depot
* Creating an origin, or being invited to join an origin that already exists.
* Setting up `hab` to authenticate to the depot.
* Uploading the keys for that origin.
* Uploading one or more packages into that origin.

We will use the public depot provided by the Habitat project for this section. However, it is planned to be able to run your own depot. Today the Habitat team does not officially support private package depots.

## Creating an account in the depot

{'fraction_non_alphanumeric': 0.055379746835443035, 'fraction_numerical': 0.0, 'mean_word_length': 4.313725490196078, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4931985', 'n_tokens_mistral': 499, 'n_tokens_neox': 476, 'n_words': 279}