Get Started

Create Access Tokens

Introduction

This page describes how to get access to the KOS Java SDK libraries, which are required for writing KOS applications.

This page describes how to get access to the KOS React Node packages, which are required for writing KOS user interfaces.

You will:

  • Generate a GitHub personal access token

  • React frontend developers execute an npm command to activate the token

KOS Node packages reside in our GitHub package registry.

Create GitHub personal access token

To get started, you’ll need a GitHub account and a "classic" personal access token.

1) Log in to GitHub, creating an account if necessary.

2) Navigate to your personal Settings.

3) Click on the "Developer settings" option.

4) Open "Personal access tokens" and select "Tokens (classic)".

5) Click on the "Generate new token" button and choose "Generate new token (classic)". Enter a note, pick an expiration date, and select the "read:packages" scope. Click the "Generate token" button.

github personal access token
Figure 1. Creating a GitHub personal access token

6) Copy the given personal access token and save it to a secure location. You need this in the next step.

Gain access to KOS node packages

To access the KOS node packages, you must configure your credentials. You’ll use your GitHub personal access token (classic) created above. Once you have the token, execute the following command:

npm login --scope=@kosdev-code --registry=https://npm.pkg.github.com

This asks for your GitHub username and access token:

Username: <ENTER-YOUR-GITHUB-USERNAME>
Password: <PASTE-YOUR-GITHUB-PERSONAL-ACCESS-TOKEN>

When successful, npm responds with:

Logged in to scope @kosdev-code on https://npm.pkg.github.com/

This operation updates the .npmrc file in your home directory.

What’s Next?

Now that we have access to the KOS packages, let’s install KOS Studio.

Previous
Next
On this page
Related Videos
Expand your knowledge with these curated videos that complement your exploration of KOS.
Java Development
Seamlessly transition from Legacy+ systems to Freestyle microdosing and advanced distributed dispense systems.
UI Development
Using KOS SDKs, integrating Consumer and Non-consumer facing UIs becomes seamless, giving you less hassle and more time to create.
Video Library
Meet some of our development team, as they lead you through the tools, features, and tips and tricks of various KOS tools.
Resources
Familiarize yourself with KOS terminology, our reference materials, and explore additional resources that complement your KOS journey.
Copyright © 2024 TCCC. All rights reserved.