Zeblok Computational
1.3.4
1.3.4
  • AI-MicroCloud
    • About Ai-MicroCloud
    • Need for Ai-MicroCloud
    • Ai-MicroCloud Lifecycle Managment
  • PROCEDURE
    • Create an Account
      • Individual User
    • Sign In
    • Inviting User
    • Role definition by ISV administrator:
      • IAM
        • Roles
        • Usergroup
        • Organizations
    • NameSpaces
    • Workstations
      • Onboard Workstation
      • Edit feature
      • Spawn Ai-WorkStation
      • Build, Serve and Deploy
        • Notebooks
          • Installing different frameworks
        • Build Models
          • ZBL Command Line Interface
            • How to use the CLI
        • Containerization
    • Microservice
      • Onboard Microservices
      • Edit feature
      • Spawn MicroService
      • Spawn Multi-container Ai-Microservices
    • Gen-AI Workspace
      • Chat Platform
      • Knowledge Distilation
    • Spawn Orchestration Add-on
    • SDK
  • DATA AND METRICS
    • DataLake
      • Datasets
    • Monitoring
      • Resource level monitoring
  • MORE
    • Manage Account
      • Forgot Password
      • 2 Factor Authentication
    • Admin Guide
      • Menu
      • Dashboard
      • DataCenters
      • Plans
      • Lifecycle Manager
    • Video Tutorial
  • RELEASES
    • Release Notes
  • Support
    • Support Emails
Powered by GitBook
On this page

Was this helpful?

  1. PROCEDURE
  2. Workstations
  3. Build, Serve and Deploy
  4. Build Models

ZBL Command Line Interface

PreviousBuild ModelsNextHow to use the CLI

Was this helpful?

Install and Configure ZBL-cli in Jupyter notebook

Spawn a 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> <datalake url> <datalakeSecret> <username>

Platform URL: Please refer to the image attached

Datalake URL: Please contact the Zeblok Admin for this information.

Datalake Secret: Select the Kebab menu and go to the "Manage your Zeblok Account", then Click on the "Get Secret Key" Button and you can copy the alpha-numerical key under the "Ai-DataLake Secret Key"

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

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 .

Jupyterlab notebook
Once you enter the above command the cli will prompt for Access Key and Secret Key