API KEY
ANALYTICS
Connect your AI agent to Databox to query metrics, ingest custom data, manage datasets and data sources, and run AI-powered analysis with Genie — all programmatically. Agents can load metric data over date ranges, create and delete datasets, list available metrics and data sources, and translate natural language questions into structured data insights.
from langchain_mcp_adapters.client import MultiServerMCPClient
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="databoxmcp")
mcp = MultiServerMCPClient({
"databoxmcp": {
"url": "https://mcp.scalekit.com/databoxmcp",
"headers": {"Authorization": "Bearer " + token}
}
})
tools = await mcp.get_tools()import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "databoxmcp" });
const openai = new OpenAI();
// Connect to MCP at https://mcp.scalekit.com/databoxmcp
// Pass: Authorization: Bearer + tokenimport Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";
const client = new ScalekitClient({ envUrl, clientId, clientSecret });
const token = await client.agent.getToken({ userId: "user_id", connector: "databoxmcp" });
const anthropic = new Anthropic();
// Connect to MCP at https://mcp.scalekit.com/databoxmcp
// Pass: Authorization: Bearer + tokenfrom google.adk.agents import LlmAgent
from scalekit import ScalekitClient
client = ScalekitClient(env_url=ENV_URL, client_id=CLIENT_ID, client_secret=SECRET)
token = client.agent.get_token(user_id="user_id", connector="databoxmcp")
# Connect to MCP at https://mcp.scalekit.com/databoxmcp
# Pass: Authorization: Bearer + token// shared token
audit → bot_service_account
// scalekit
audit → user_abc ✓