How to create a SambaNova API key to use in Ozeki AI Gateway

This guide demonstrates how to create a SambaNova API key and configure it in Ozeki AI Gateway. You'll learn how to access the SambaNova Cloud platform, generate a new API key, and set up SambaNova as a provider in your gateway. By following these steps, you can connect your Ozeki AI Gateway to SambaNova's high-performance AI infrastructure and access their optimized language models.

API URL: https://api.sambanova.ai/v1
Example API Key: abcd123...
Default model: gpt-oss-120b

What is a SambaNova API key?

A SambaNova API key is a unique authentication credential that allows applications to access AI models through SambaNova's cloud platform. SambaNova Systems provides high-performance AI infrastructure optimized for running large language models efficiently. When configuring SambaNova as a provider in Ozeki AI Gateway, you need this API key to establish the connection between your gateway and the AI services.

Overview
Overview

Steps to follow

  1. Open SambaNova dashboard
  2. Open API keys page
  3. Create new API key
  4. Copy API key
  5. Open Providers page in Ozeki AI Gateway
  6. Create provider

How to create a SambaNova API key video

The following video shows how to create a SambaNova API key and configure it in Ozeki AI Gateway step-by-step. The video covers accessing the cloud platform, generating credentials, and setting up the provider in your gateway.

Step 0 - Install Ozeki AI Gateway

Before configuring SambaNova as a provider, ensure Ozeki AI Gateway is installed and running on your system. If you haven't installed Ozeki AI Gateway yet, follow our Installation on Linux guide or Installation on Windows guide to complete the initial setup.

Step 1 - Open SambaNova dashboard

Open your web browser and navigate to SambaNova Cloud. Sign in with your account credentials or create a new account if needed. The dashboard provides access to AI services, API management, and platform settings (Figure 1).

Open SambaNova dashboard
Figure 1 - Open SambaNova dashboard

Step 2 - Open API keys page

In the left sidebar navigation menu, locate and click on "API Keys" to access the API key management section. This page displays your existing API keys and allows you to create new ones for accessing SambaNova's AI services (Figure 2).

Click API Keys from the left sidebar
Figure 2 - Click API Keys from the left sidebar

Step 3 - Create new API key

On the API Keys page, click the "Create API Key" button to begin the API key creation process. This initiates the key generation workflow where you'll configure the settings for your new authentication credential (Figure 3).

Create new API key
Figure 3 - Create new API key

Enter a descriptive name for your API key, such as "Ozeki AI Gateway". Review the configuration settings and generate your authentication credential (Figure 4).

Name and generate key
Figure 4 - Name and generate key

Step 4 - Copy API key

After generation, the platform displays the complete API key value. Click the copy button to transfer it to your clipboard. Store this key securely as it provides access to SambaNova AI services and models (Figure 5).

The API key is only shown once during creation. Make sure to copy and securely store the key before closing this window.

Copy API key
Figure 5 - Copy API key

Step 5 - Open Providers page in Ozeki AI Gateway

Open the Ozeki AI Gateway web interface and navigate to the Providers page. The Providers page displays all configured AI model connections and allows you to add new providers (Figure 6).

Open Providers page
Figure 6 - Open Providers page in Ozeki AI Gateway

Step 6 - Create provider

Click the "New" button on the Providers page to begin creating a provider configuration. This opens a form where you'll specify the connection details (Figure 7).

Add new provider
Figure 7 - Click add new provider button

Fill in the configuration form with your connection information. Enter the provider name, select "OpenAI compatible" as the type, paste the endpoint URL (https://api.sambanova.ai/v1), and add your API key. Click "Create" to save the configuration (Figure 8).

https://api.sambanova.ai/v1

Enter details and create provider
Figure 8 - Enter provider details and create

After successful creation, the provider is added to Ozeki AI Gateway. The provider now appears in the list, confirming that your gateway can route requests to SambaNova AI services. You can now create routes that allow users to access SambaNova's high-performance AI models through your gateway (Figure 9).

Provider created
Figure 9 - Provider created successfully

Conclusion

You have successfully created a SambaNova API key and configured it as a provider in Ozeki AI Gateway. Your gateway can now communicate with the platform and access SambaNova's AI models. This setup allows you to manage access for multiple users and applications from a centralized point while leveraging SambaNova's specialized AI infrastructure.

More information