Overview
This document explains how to integrate SambaCloud LLMs into the Dify AI application platform. Dify enables fast development of LLM apps with a no-code/low-code approach.
What is Dify?
Dify (Dify: Leading Agentic AI Development Platform ) is an open-source platform designed for building and deploying LLM-based applications like chatbots, agents, and tools without extensive coding.
Integration Benefits
- Use SambaCloud’s optimized LLMs directly within Dify.
- Build, test, and deploy LLM-powered apps easily.
- Maintain centralized control using your SambaNova API key.
Integration Steps
- Create a Dify Account
Go to Dify: Leading Agentic AI Development Platform and sign up. - Navigate to Model Providers
- In Dify, go to Settings → LLM Providers.
- Or find the model provider under the Marketplace tab.
- Select SambaCloud
- Choose SambaCloud as your provider.
- You will be prompted to enter your API key.
- Enter API Key
- Copy your API key from the SambaCloud portal.
- Paste it into Dify.
- Choose a Model
- Select one of the available SambaNova LLM models to use in your app.
- Build Your App
- Start creating flows, chatbots, or agents using SambaNova LLMs.
- Deploy them via API or Dify’s UI.
API Key Management
- Keep your SambaNova API key confidential.
- Regenerate keys if compromised from your SambaNova account settings.