Claude Model
This section explains how to connect Anthropic Claude as a Gen AI Model data source in DataDios. Once connected, Claude can power AI Studio text-to-SQL, chat, insights, and metadata discovery, and can be set as your tenant's Global AI Data Source.
Claude has no embeddings API, so it cannot be used as a RAG embedding source — keep OpenAI, Ollama, or Gemini for that. Everything else (chat, SQL generation, insights) works at parity with the other model connectors.
Prerequisites
Before connecting, get an Anthropic API key from the Anthropic Console under Settings → API keys. Optionally, create an Admin API key as well if you want the workload Cost dashboard to pull real usage and spend from Anthropic's Admin API.
Steps to Create and Test a Claude Data Source
Step 1: Create a Data Source
- Navigate to the Data Sources tab in DataDios
- Click + CREATE SOURCE
- In the data source type dropdown, expand Gen AI Models and select Claude Model
Step 2: Fill Connection Details
Provide the following parameters (toggle to Json for the raw form):
- project_name: (Optional) A label to group your models under
- provider_type: Direct Anthropic (the only provider available today)
- model_type: The Claude model to use. Available options:
claude-opus-4-8(default)claude-opus-4-7claude-opus-4-6claude-sonnet-4-6claude-haiku-4-5claude-fable-5
- API_KEY: Your Anthropic API key (required, stored encrypted)
- ADMIN_API_KEY: (Optional) An Anthropic Admin API key, used only to populate the Cost dashboard
- schedule_sync: (Optional)
15 Minutes,Hourly, orDailyfor metadata synchronization
JSON Configuration
{
"project_name": "claude_prod",
"provider_type": "Direct Anthropic",
"model_type": "claude-opus-4-8",
"API_KEY": "sk-ant-...",
"ADMIN_API_KEY": "",
"schedule_sync": ""
}
Step 3: Test Connection
- Click TEST CONNECTION
- A valid key returns Status: OK. The key is never echoed back in any response or log.
Step 4: Save Data Source
- Click CREATE to save the data source
- It appears on the Data Sources listing page under Gen AI Models
Using Claude with AI Studio
Once connected, select this data source in AI Studio to ask natural-language questions against your databases and get runnable SQL, chat over your data, and generate insights. See the AI Studio documentation.
To make Claude available to every user in your tenant without each user creating their own model source, set it as the Global AI Data Source under Settings → Configuration → Global Configuration.