SambaStudio resources

The SambaStudio Resources screen aggregates platform specific settings, resources, and packages. This document describes how to generate your API authorization key and download the CLI utility packages.

From the help drop-down in the top menu bar, click on Resources to open the screen.

Resources
Figure 1. Resources screen

API authorization key

The SambaStudio authorization key can be used to access any of the API resources within the platform. Follow the steps below to generate a new API key.

  • A new API key is generated when you click on the Generate API Key button.

  • Your old key will be invalid when you generate a new key.

  • Copy the newly generated authorization keys immediately and save them in a secure location. The keys will be lost when you leave the screen.

  • Be sure to replace the old authorization key with the newly generated key in your scripts.

  1. Click Generate API Key. The warning box will open explaining that generating a new API key will make your old API key invalid.

  2. Click Generate to create your new API key. Your new key will display in the API Authorization Key field.

  3. Click the copy icon in the API Authorization Key field to copy your new API key to your clipboard.

Be sure to save your new API key to a safe location.

copy API key
Figure 2. Generate API Key

CLI utility

SambaStudio provides a command-line interface (CLI). Download the packages to your local machine implement the CLI. See SambaStudio CLI setup guide for information on installing the CLI utility packages.

  • Click the Download SNSDK button to download the SambaNova provided snsdk package. The package will be downloaded to the location configured by your browser.

  • Click the Download SNAPI button to download the SambaNova provided snapi package. The package will be downloaded to the location configured by your browser.