> ## Documentation Index
> Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SambaNova

> Add and configure SambaNova models through TrueFoundry's AI Gateway.

### Adding Models

This section explains the steps to add SambaNova models and configure the required access controls.

**1. Select SambaNova as the provider**

From the TrueFoundry dashboard, go to **AI Gateway** > **Models**, click **Add Model** and choose **To New Provider Account**. Select **SambaNova** from the provider list.

![Add Provider Account page listing the supported model providers](https://mintcdn.com/truefoundry/fDI2fd3aQvGCJmLJ/images/ai-gateway-add-models/provider-grid.png?fit=max\&auto=format\&n=fDI2fd3aQvGCJmLJ\&q=85\&s=1e56a2ef4980999dc0d86d50ec7ab5c2)

Choose a provider in Add Provider Account

**2. Add SambaNova Account Details**

Give a unique name to your SambaNova account and complete the form with your SambaNova authentication details (API Key).

![SambaNova Configure Account form in the provider account setup drawer](https://mintcdn.com/truefoundry/fDI2fd3aQvGCJmLJ/images/ai-gateway-add-models/config-sambanova.png?fit=max\&auto=format\&n=fDI2fd3aQvGCJmLJ\&q=85\&s=cf57d08df0aad2cfedf524b5f158803b)

Configure Account for SambaNova

**3. Add Models by Model ID**

Click **Add Model Manually** to open the form for adding a new model. For SambaNova, you don't select from a list. Instead, you need to get the `Model ID` from their [docs](https://docs.sambanova.ai/docs/en/models/sambacloud-models) page.

![SambaNova Docs showing available models with ids](https://mintcdn.com/truefoundry/00jXIHQoSJESU4_H/images/sambanova-docs.png?fit=max\&auto=format\&n=00jXIHQoSJESU4_H\&q=85\&s=1deda9968d4c43f70095bdf577d321be)

Find Model ID in SambaNova Docs

Use this `Model ID` when adding the model in TrueFoundry.

![Model addition form for SambaNova with fields for Name and Model ID configuration](https://mintcdn.com/truefoundry/RPGBvdj58v511tQq/images/docs/sambanova-add-model.png?fit=max\&auto=format\&n=RPGBvdj58v511tQq\&q=85\&s=df83d4e5f80d626a080cad0571843830)

Adding a SambaNova model to TrueFoundry

**4. Save and grant access**

Click **Test Credentials** to check the account against the selected models, or click **Save without Testing**. To keep the account in Git instead, click **Apply using YAML** and apply the generated spec with `tfy apply`.

To let other users, teams or virtual accounts use or manage these models, open **Manage Accounts**, click **⋮** on the account and choose **Access Control** > **Grant Access**. See [Access control](https://www.truefoundry.com/docs/ai-gateway/gateway-access-control.md).

### Inference

After adding the models, you can perform inference using an OpenAI-compatible API via the Playground or by integrating with your own application.

![Code Snippet and Try in Playgroud Buttons for each model](https://mintcdn.com/truefoundry/RPGBvdj58v511tQq/images/docs/sambanova-inference.png?fit=max\&auto=format\&n=RPGBvdj58v511tQq\&q=85\&s=4efe240bc1f3158f0886ca3f75f7bf00)

Infer Model in Playground or Get Code Snippet to integrate in your application


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.