> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/artifact-registry/3.0/setup.md).

# Setup

Generate an identity token from a registry's Set up client page, then configure your package manager to push and pull artifacts from the registry.

This documentation covers Harness Artifacts (New Experience).

Every format in this section authenticates the same way: generate an identity token from a registry's **Set up client** page, then configure your package manager with that token.

## Authentication

For most formats, enter your Harness account email as the username and the identity token as the password. npm is the exception; it authenticates with the token alone, with no separate username field.

For the full authentication model, including service accounts, pipeline identity, and RBAC, go to [Authentication and identity tokens](https://developer.harness.io/artifact-registry/3.0/concepts/authentication-and-identity-tokens.md).

## Token expiry

Tokens generated from **Set up client** are scoped to that registry. You choose the expiry at generation time: 30 days, 90 days, 180 days, or a custom duration. The token value is shown only once, at creation; copy and store it securely before closing the dialog.

To generate a longer-lived token instead, go to [Authentication and identity tokens](https://developer.harness.io/artifact-registry/3.0/concepts/authentication-and-identity-tokens.md#token-lifespan-and-scope).

## Set up a client

{% content-ref url="/pages/Ah3SKbA0Hztix9hpYn0x" %}
[Docker](https://developer.harness.io/artifact-registry/3.0/setup/docker.md)
{% endcontent-ref %}

{% content-ref url="/pages/0PS31mEzC0uH1HUKg0zn" %}
[Helm OCI](https://developer.harness.io/artifact-registry/3.0/setup/helm-oci.md)
{% endcontent-ref %}

{% content-ref url="/pages/2IMSC6VraJpjn5Ka4vAr" %}
[Helm HTTP](https://developer.harness.io/artifact-registry/3.0/setup/helm-http.md)
{% endcontent-ref %}

{% content-ref url="/pages/TX4dY2wSTfkCsYjoCsP8" %}
[Maven](https://developer.harness.io/artifact-registry/3.0/setup/maven.md)
{% endcontent-ref %}

{% content-ref url="/pages/eBhkIBIPyoJWLYqlMOVT" %}
[npm](https://developer.harness.io/artifact-registry/3.0/setup/npm.md)
{% endcontent-ref %}

{% content-ref url="/pages/TPhag5rJULbSUlVFdocL" %}
[Python](https://developer.harness.io/artifact-registry/3.0/setup/python-pypi.md)
{% endcontent-ref %}

{% content-ref url="/pages/lMlamSJlOIn4kuz6lbSo" %}
[NuGet](https://developer.harness.io/artifact-registry/3.0/setup/nuget.md)
{% endcontent-ref %}

{% content-ref url="/pages/lsdDTMObAngQl2Q9uDkl" %}
[Go modules](https://developer.harness.io/artifact-registry/3.0/setup/go-modules.md)
{% endcontent-ref %}

{% content-ref url="/pages/7L0kzqm9XQ9ts9OSpbb9" %}
[Cargo](https://developer.harness.io/artifact-registry/3.0/setup/cargo.md)
{% endcontent-ref %}

{% content-ref url="/pages/XgoUDORArfBGWQnqFxLi" %}
[RubyGems](https://developer.harness.io/artifact-registry/3.0/setup/ruby-gems.md)
{% endcontent-ref %}

{% content-ref url="/pages/mQSv6XXdUgbTYrB09TdI" %}
[Conan](https://developer.harness.io/artifact-registry/3.0/setup/conan.md)
{% endcontent-ref %}

{% content-ref url="/pages/JfRHRXyUtTjF2xD0CLyt" %}
[Swift](https://developer.harness.io/artifact-registry/3.0/setup/swift.md)
{% endcontent-ref %}

{% content-ref url="/pages/NYippp49Vll0V2KGaoCc" %}
[PHP Composer](https://developer.harness.io/artifact-registry/3.0/setup/php-composer.md)
{% endcontent-ref %}

{% content-ref url="/pages/JVpngQQxxIkIPLMvB7Vv" %}
[Dart](https://developer.harness.io/artifact-registry/3.0/setup/dart.md)
{% endcontent-ref %}

{% content-ref url="/pages/lhxckJX3CDB9tiW27s0E" %}
[Conda](https://developer.harness.io/artifact-registry/3.0/setup/conda.md)
{% endcontent-ref %}

{% content-ref url="/pages/9lXUCzEiPfxgkUk9c7JJ" %}
[R(CRAN)](https://developer.harness.io/artifact-registry/3.0/setup/r-cran.md)
{% endcontent-ref %}

{% content-ref url="/pages/Tz2u2edsc1FR0YCaYQt0" %}
[Hugging Face](https://developer.harness.io/artifact-registry/3.0/setup/hugging-face.md)
{% endcontent-ref %}

{% content-ref url="/pages/9HHEubnhzjwg9TOe0V5n" %}
[Terraform](https://developer.harness.io/artifact-registry/3.0/setup/terraform.md)
{% endcontent-ref %}

{% content-ref url="/pages/mqmEgE33rYMyHqSvoi9j" %}
[Terraform Backend](https://developer.harness.io/artifact-registry/3.0/setup/terraform-backend.md)
{% endcontent-ref %}

{% content-ref url="/pages/LPLpjJOJCAABnjFJN8Iw" %}
[RPM](https://developer.harness.io/artifact-registry/3.0/setup/rpm.md)
{% endcontent-ref %}

{% content-ref url="/pages/EgeHJkBb9rdb2KaSY0MQ" %}
[Debian](https://developer.harness.io/artifact-registry/3.0/setup/debian-apt.md)
{% endcontent-ref %}

{% content-ref url="/pages/OjUod2B5Fkr5ftQneYec" %}
[Alpine](https://developer.harness.io/artifact-registry/3.0/setup/alpine-apk.md)
{% endcontent-ref %}

{% content-ref url="/pages/Q7Qbmb7RyFtkjW9i8pQH" %}
[Wolfi](https://developer.harness.io/artifact-registry/3.0/setup/wolfi-apk.md)
{% endcontent-ref %}

{% content-ref url="/pages/Qwtfogqsb9Q1t9NKzHsA" %}
[Generic](https://developer.harness.io/artifact-registry/3.0/setup/generic.md)
{% endcontent-ref %}

{% content-ref url="/pages/MDPUzWEQjkKUv6yTzybj" %}
[Raw](https://developer.harness.io/artifact-registry/3.0/setup/raw.md)
{% endcontent-ref %}

{% content-ref url="/pages/f12qS9wYLm2G9mxeorsZ" %}
[Puppet](https://developer.harness.io/artifact-registry/3.0/setup/puppet.md)
{% endcontent-ref %}
