JFrog Registry Setup
We use a private npm repository hosted on JFrog, so you must setup your machine to authenticate credentials to access it.
- Log into JFrog
- Important: Click the SAMO SSO icon at the bottom.
- Click on “Edit Profile” in the profile menu
- Click “Generate an Identity Token”, give it any name.
- Copy your token value
- Use this website to encode your token to base64
- Locate your global
.npmrcfile, typicallyC:\Users\username\.npmrc - Open command or powershell prompt in this folder (e.g.
C:\Users\username) - Copy the following content to
.npmrc:registry=https://registry.npmjs.org/ always-auth=true @remhealth:registry=https://ntst.jfrog.io/artifactory/api/npm/remarkable-npm/ //ntst.jfrog.io/artifactory/api/npm/remarkable-npm/:_password=[BASE64 TOKEN] //ntst.jfrog.io/artifactory/api/npm/remarkable-npm/:username=[JFROG USERNAME] //ntst.jfrog.io/artifactory/api/npm/remarkable-npm/:email=[YOUR EMAIL] //ntst.jfrog.io/artifactory/api/npm/remarkable-npm/:always-auth=true- Replace
[JFROG USERNAME]with your jfrog username (without brackets) - Replace
[BASE64 TOKEN]with the base64’ed token from step 5 (without brackets)- Do not use your NTST password here. Use the Base64 value from step 5.
- Replace