# How do I link private GitHub Packages Registry to my application?

**URL:** <https://community.replicated.com/t/how-do-i-link-private-github-packages-registry-to-my-application/407>\
**Category:** How do I?\
**Created:** [March 23, 2020, 11:29pm UTC](https://community.replicated.com/t/how-do-i-link-private-github-packages-registry-to-my-application/407 "2020-03-23T23:29:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [March 23, 2020, 11:29pm UTC](https://community.replicated.com/t/how-do-i-link-private-github-packages-registry-to-my-application/407/1 "2020-03-23T23:29:48Z")

</div>

What do I need to enter on the `Link external registry` dialog in order to be able to include private images hosted in Github registry?

---

<div class="post-metadata">

**Author:** ![dmitriy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/dmitriy/32/16_2.png) [@dmitriy](https://community.replicated.com/u/dmitriy)\
**Post date:** [April 1, 2020, 2:19am UTC](https://community.replicated.com/t/how-do-i-link-private-github-packages-registry-to-my-application/407/2 "2020-04-01T02:19:40Z")

</div>

Right now this is only supported for KOTS apps.

1. Navigate to `https://github.com/settings/tokens` and generate a new token.

2. Once the toke is generated, save the value. There will be no way to retrieve it later.

3. Enter then following

4. Click the `Link Registry` button.

There is a known issue with `docker.pkg.github.com` that prevents Replicated server from validating the specified credentials. If username or the token are entered incorrectly, authentication errors will be returned to the client when trying to pull images.
