> For the complete documentation index, see [llms.txt](https://docs.edgegap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgegap.com/docs/tools-and-integrations/container/external-registries/gitlab-registry.md).

# Gitlab registry

### You need to have on hand

* [x] Your Gitlab Registry Full Repository name
* [x] Your Gitlab Personal access token OR a deploy token

### Access Token OR Deploy Token

You can follow this [**Tutorial**](https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html) to generate a Personal Access Token

OR

You can follow this [**Tutorial**](https://docs.gitlab.com/ee/user/project/deploy_tokens/index.html) to generate a Deploy Token

### Split the Full Repository Name

Given this Full Repository: **registry.gitlab.com/group/project**

Your **Repository** will be: **registry.gitlab.com**

and your **Image** will be: **group/project**

### Add the app on Edgegap

#### **API Example**

```json
{
    [...]
    "docker_repository": "registry.gitlab.com",
    "docker_image": "group/project",
    "docker_tag": "v1",
    "private_username": "example@edgegap.com",
    "private_token": "<Personal Access Token OR Deploy Token>",
    [...]
}
```

#### **From Dashboard**

From our Dashboard, The **Private registry token** will be the content of your **Personal Access Token OR Deploy Token**

<figure><img src="/files/wxWWkz0Rqm6UD7KTqSkf" alt=""><figcaption></figcaption></figure>
