truefoundry Docs home page
Search...
⌘K
Ask AI
Book Demo
Blog
Sign Up
Sign Up
Search...
Navigation
Databricks
Overview
Home
ML Engineering
AI Gateway
LLM Engineering
API Reference
Changelog
Get Started
Introduction
Quick Start
Developer Guide
Supported Models
OpenAI
Anthropic
AWS Bedrock
Google Vertex
Azure OpenAI
Azure AI Foundry
Self Hosted Models
Databricks
Overview
Setting Up Databricks Serving Endpoints
Adding Databricks Models
Supported APIs
Cost Tracking
MCP Registry and Gateway
Introduction
Getting Started
MCP Server Authentication
Agent API
Example MCP Servers
Configure Gateway
Access Control
Rate Limiting
Budget Limiting
Load Balancing
Fallback
Guardrails and Security
Integrations
Flowise
Open WebUI
Observability
Analytics
Metadata
Export Logs/Traces
Opentelemetry
Prometheus Grafana Integration
Deployment
Architecture
Deploy AI Gateway Only
API Reference
Authentication for AI Gateway
Request and Response Headers
Chat
POST
Chat Completions
Agent Responses
POST
Agent Responses
Embeddings
POST
Generate Embeddings
Rerank
POST
Rerank Documents
Responses
GET
List Model Response Input Items
GET
Get Model Response
DEL
Delete Model Response
POST
Model Responses
Audio
POST
Transcribe Audio
Batch
GET
List batches
POST
Create Batch
GET
Get Batch
GET
Get Batch Output
POST
Cancel Batch
Files
GET
List Files
POST
Upload File
GET
Get File
DEL
Delete file
GET
Get File Content
Moderations
POST
Post moderations
On this page
Prerequisites
Adding Databricks Provider Account
1. Navigate to AI Gateway
2. Enter Authentication Details
2.1. Service Principal Authentication (Recommended)
2.2. Personal Access Token (PAT)
3. Enter Base URL
Databricks
Overview
TrueFoundry’s AI Gateway provides a secure and efficient way to integrate Large Language Models (LLMs) hosted on Databricks into your applications. This guide covers how to configure Databricks models in TrueFoundry AI Gateway.
Prerequisites
Before you begin, ensure you have:
Access to a TrueFoundry workspace with AI Gateway enabled
A Databricks workspace with appropriate permissions
Active Databricks serving endpoints
(
learn how to create them
)
One of the following authentication methods:
Service Principal
with necessary permissions
Personal Access Token (PAT)
for your Databricks workspace
Adding Databricks Provider Account
1. Navigate to AI Gateway
In the
TrueFoundry Dashboard
, go to
AI Gateway
→
Models
Select
Databricks
as your model provider
2.
Enter Authentication Details
2.1. Service Principal Authentication (Recommended)
Service Principal authentication is the recommended approach for production environments as it provides better security and access control.
Choose
Service Principal Auth
Enter your Databricks Service Principal
Client ID and OAuth Secret
2.2. Personal Access Token (PAT)
Personal Access Tokens are suitable for development and testing environments.
Choose
Databricks API Key Based Auth
and enter your
PAT
3.
Enter Base URL
Enter Databricks workspace URL (format:
https://<workspace_id>.databricks.com
)
Was this page helpful?
Yes
No
Self Hosted Models
Setting Up Databricks Serving Endpoints
Assistant
Responses are generated using AI and may contain mistakes.