# Setting Up Harbor

## 1. Move to the external registry creation screen

1\) Navigate to \[Build Configuration] - \[External Container Registries].

<figure><img src="/files/GwNMLL0nlKfYr2WT6Gyr" alt=""><figcaption><p>[Screen] Registries</p></figcaption></figure>

2\) Click the "+ Register" button in the upper right corner to select the provider to create.

<figure><img src="/files/S6ooOM9IbuaCgEKwSGL6" alt=""><figcaption><p>[Screen] Select External Registries</p></figcaption></figure>

## 2. Enter Registry Registration Information

1\) Click the "+ Register" button and select "Harbor"

<figure><img src="/files/gHff5nnOVAjs796eu2Ho" alt=""><figcaption><p>[Screen] Select External Registries(Harbor)</p></figcaption></figure>

2\) After registering Harbor authentication information in the basic information, click the "Test Connection" button.

<figure><img src="/files/V5Zrg37Y6qSz83PFFn6H" alt=""><figcaption><p>[Screen] Register Harbor Registry Authentication Information</p></figcaption></figure>

| Item (\* is required) | Content                                                                           |
| --------------------- | --------------------------------------------------------------------------------- |
| Name\*                | Enter the name of the external container registry to be registered                |
| Describe              | Enter a description for the external container registry                           |
| Endpoint URL\*        | Enter the Endpoint Address of the external container registry                     |
| Registry\*            | Enter the name of the <mark style="color:red;">already registered registry</mark> |
| Access ID\*           | Harbor Login ID                                                                   |
| Access Secret\*       | Harbor Login Password                                                             |
| Ca Certificate        | Enter the private certificate information                                         |
| Insecure              | Specify whether it's insecure                                                     |

1. Enter the name for the registry to be created in the registry.
2. Enter a description for the registry.
3. Enter the EndPoint URL.
4. Enter the registry name.
5. Enter Access ID and Access Secret.
6. If CA Certificate exists, enter it (optional).
7. Check the option for using Insecure (optional).
8. Click "Test Connection" in the upper right corner to verify if the registry is available.
9. Click the "Save" button in the upper right corner.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cocktailcloud.gitbook.io/cocktail-cloud-online-en/start/registry/undefined/harbor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
