Skip to content

1. Your Workspace

Introduction Create SmartApp

Installation

Before you can start you need to setup your computer with all the development tools required to make Kelvin SmartApps™.

The list of software required for development and testing is;

Software Mandatory Install Method
Google Chrome Yes (Kelvin only guarantees on Google Chrome, though most if not all features will work in the other modern browsers) From website
Python 3 Yes, See Pypi for compatible versions From website
Docker Yes From website
Visual Studio Code No, but we now standardize our newer documentation to be shown on VSCode From website
Kelvin SDK Yes pip install kelvin-sdk

There is detailed step-by-step documentation available on how to install all the software and tools required for each OS type.

Login

Once everything is installed, then you need to login to you Kelvin Platform from the terminal.

kelvin auth login <kelvin-platform-url>

You will be asked for your login, password and 2fa code.

The Kelvin SDK will then attempt to log you into two systems;

Warning

When logging into the Kelvin Docker Registry, you need to have access to Docker with your user. If you don't have this, this step will fail.

To setup local user access to the docker commands;

On Windows and Linux, run this terminal command

sudo usermod -aG docker $USER

and on MacOS run this command;

sudo dseditgroup -o edit -a $USER -t user docker
  • Kelvin Platform
  • Kelvin Docker Registry

When you are logged in you will see the following;

$ kelvin auth login
[kelvin.sdk][2025-03-17 12:09:12][I] Refreshing metadata..
Platform: <KELVIN-PLATFORM-URL>
Enter your username: <USERNAME>
Enter your password: <PASSWORD>
Enter 2 Factor Authentication (2FA) one-time password (blank if not required): <2FA>
[kelvin.sdk][2025-03-17 12:09:53][I] Attempting to log on "<KELVIN-PLATFORM-URL>"
[kelvin.sdk][2025-03-17 12:09:57][R] Successfully logged on "<KELVIN-PLATFORM-URL>" as "<USERNAME>"
[kelvin.sdk][2025-03-17 12:09:58][I] Attempting to log on "<KELVIN-PLATFORM-URL>" Docker registry
Login Succeeded

With your workspace setup, now we can start with creating your first Kelvin SmartApp™.

Introduction Create SmartApp