diff --git a/docs/usage/private-npm-modules.md b/docs/usage/private-npm-modules.md
index e85b88bf46b2ebb4e7160e3a015e77be8e33e753..3ec9aebd51e94e9730df7e78b11678253fda28a3 100644
--- a/docs/usage/private-npm-modules.md
+++ b/docs/usage/private-npm-modules.md
@@ -151,3 +151,20 @@ The end-result looks like this:
 ```
 
 However be aware that if your `.npmrc` is too long to encrypt then the above command will fail.
+
+### Automatically authenticate for npm package stored in private GitHub npm repository
+
+```json
+{
+  "hostRules": [
+    {
+      "matchHost": "https://npm.pkg.github.com/",
+      "hostType": "npm",
+      "encrypted": {
+        "token": "<Encrypted PAT Token>"
+      }
+    }
+  ],
+  "npmrc": "@organizationName:registry=https://npm.pkg.github.com/"
+}
+```