ZBL Command Line Interface

Install and Configure ZBL-cli in Jupyter notebook

Spawn a Jupyterlab notebook and open it in the browser

Open the Terminal and perform the below procedures that are mentioned:

CInstall the Zeblok CLI into the notebook using the below command:

npm i -g zbl-cli-modular

Zeblok cli is used in the workstation to interact with AI-Microcloud for the purpose of model serving , pipeline and snapshot

Configure the command line interface with Zeblok account

zeblok configure <platformUrl> <username>

Platform URL: Please refer to the image attached

Username: You can copy your user name from the same page you got your Datalake Secret from, Please follow the below picture

When workstation is spawned this command is pre configured into your notebook with all configurations

Authentication of the Microcloud with the CLI

zeblok auth
Once you enter the above command the cli will prompt for Access Key and Secret Key

You can get both the credentials from the "Manage you Zeblok Account" option. Click on the "Get API Credential" button to reveal both the keys and the you can copy paste there from there.

After you have entered both the keys into the CLI after then you can easily use the CLI to Build you own Models or to serve pre installed models using the Zeblok command line.

Run the below command to check if the ZBL-CLI working

zeblok

Once the initiation of any services like model serving is initiated try not to regenerate the access key and secret key again in profile tab to avoid failure in updates to app .