Back to Lobehub

Using the SambaNova API Key in LobeHub

docs/usage/providers/sambanova.mdx

2.1.561.7 KB
Original Source

Using SambaNova in LobeHub

<Image alt={'Using SambaNova in LobeHub'} cover src={'/blog/assetsd9e6fe2197270f0f774accd6abcf4019.webp'} />

SambaNova is a company based in Palo Alto, California, specializing in high-performance AI hardware and software solutions. It offers fast AI model training, fine-tuning, and inference capabilities, particularly well-suited for large-scale generative AI models.

This guide will walk you through how to use SambaNova in LobeHub:

<Steps> ### Step 1: Obtain a SambaNova API Key
  • First, sign up and log in to SambaNova Cloud
  • Navigate to the APIs page and create a new API key

<Image alt={'Obtain a SambaNova API Key'} inStep src={'/blog/assets2f83a9f03f13e73b7393641078627cf1.webp'} />

  • Copy the generated API key and store it securely

<Callout type={'warning'}> Make sure to save your API key securely. It will only be shown once. If you lose it, you’ll need to generate a new one. </Callout>

Step 2: Configure SambaNova in LobeHub

  • Go to the App Settings section in LobeHub
  • Under AI Providers, locate the SambaNova configuration option

<Image alt={'Enter SambaNova API Key'} inStep src={'/blog/assetsf78c85b0a0183a3ae3f2e916d59c0a67.webp'} />

  • Enable SambaNova and paste in your API key
  • Choose a SambaNova model for your assistant to start chatting

<Image alt={'Select a SambaNova Model'} inStep src={'/blog/assets03f3f52817a626339071e6329b445cb3.webp'} />

<Callout type={'warning'}> Please note that you may incur charges from the API provider. Refer to SambaNova’s pricing policy for more details. </Callout> </Steps>

You're now ready to start chatting with models powered by SambaNova in LobeHub.