JFrog Registry Setup

We use a private npm repository hosted on JFrog, so you must setup your machine to authenticate credentials to access it.

  1. Log into JFrog
    • Important: Click the SAMO SSO icon at the bottom.
  2. Click on “Edit Profile” in the profile menu
  3. Click “Generate an Identity Token”, give it any name.
  4. Copy your token value
  5. Use this website to encode your token to base64
  6. Locate your global .npmrc file, typically C:\Users\username\.npmrc
  7. Open command or powershell prompt in this folder (e.g. C:\Users\username)
  8. 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.

Copyright © 2024 Remarkable Health. All rights reserved.