RhinoAgents + Metabase

RhinoAgents × Metabase

Connect AI Employees to Metabase Saved Questions, Dashboards, Collections, and SQL Datasets via Metabase REST API and Scoped API Keys—turning Slack questions into live BI answers.

Metabase API Key Saved Questions & Cards Parameter Filtering Scheduled Slack Briefs
Metabase API
Cards, Dashboards, CSV
15+
Typed BI Tools
Group-Scoped
Collection Permissions
100%
Read-Safe & Audited
01 / INTEGRATION ARCHITECTURE

How RhinoAgents Connects Safely to Metabase

RhinoAgents authenticates via a scoped Metabase API Key (X-Api-Key) bound to a dedicated Metabase Group, running approved Saved Questions (Cards) rather than arbitrary unvetted SQL.

// Metabase Enterprise Execution Flow
METABASE BI
Cards • Dashboards
Collections, Filters, Exports
REST API / X-Api-Key
RHINOAGENTS RUNTIME
AI Employee + Guardrails
RBAC, Tool Registry, Audit Log
HITL Gate
SIGN-OFF
Slack / Teams
1-Click Approval

Pattern A — Slack BI Copilot

Execs ask revenue or ops questions in Slack; the AI Employee runs the corresponding Metabase Card with filters.

Slack Ask → Run Card → Chart/Table

Pattern B — KPI Threshold Watchers

Scheduled runs compare today's Metabase Card metrics against targets and alert owners on drops.

Cron Card → Compare KPI → Alert

Pattern C — Weekly Executive Digest

Every Monday morning, AI Employees aggregate 5+ dashboard cards into a crisp Slack/email narrative.

Multi-Card → Narrative → Digest
02 / HOW TO CONFIGURE

Step-by-Step Metabase Setup

Create a dedicated Metabase Group and API Key in Metabase Admin Settings → Authentication / API Keys.

STEP 01 • METABASE ADMIN

Create Scoped Group & API Key

  1. Open Metabase Admin → Settings → API Keys → Create API Key (Metabase v0.49+).
  2. Assign it to a dedicated Group (e.g., RhinoAgents-BI) with read access only to approved Collections.
STEP 02 • CURATED CARDS

Identify Key Saved Questions

  1. Pin high-value Card IDs (e.g. Daily Revenue, Churn Cohort, Fulfillment SLA) for instant agent execution.
STEP 03 • NETWORK ACCESS

Ensure HTTPS Reachability

  1. Verify your Metabase instance URL is reachable from RhinoAgents (or allowlist static egress IPs).
STEP 04 • RHINOAGENTS

Verify Connection

  1. Open RhinoAgents → Integrations → Metabase → Connect and verify GET /api/user/current.
Required Connector Fields in RhinoAgents AES-256 Encrypted Vault
Parameter Example Format Purpose
metabase_url https://bi.yourcompany.com Self-hosted or Metabase Cloud base URL
api_key mb_•••••••• (Vault Encrypted) Metabase X-Api-Key credential
allowed_collection_ids 12, 18, 42 Optional collection boundary for agent discovery
03 / COMPLETE API ACTIONS REGISTRY

Supported Metabase Tools & Triggers

Typed Metabase REST API tools for searching collections, executing saved cards with parameters, and exporting results.

Search & Collections
search_cards_and_dashboards(query)
list_collections()
get_dashboard_cards(dashboard_id)
Execute Saved Questions
run_card_query(card_id, parameters)
export_card_csv_or_json(card_id, fmt)
get_card_metadata(card_id)
Databases & Native (Opt-In)
list_databases()
run_readonly_dataset_query(db_id, sql)
Alerts & Pulses
list_alerts()
check_card_kpi_threshold(card_id, min)
Scheduled Triggers
metabase.weekly_exec_briefing
metabase.kpi_anomaly_detected
EXAMPLE TOOL EXECUTION • metabase.run_card_query() RBAC + HITL Enforced
{
  "tool": "metabase.run_card_query",
  "input": { "card_id": 142, "parameters": [{ "name": "region", "value": "North America" }] },
  "result": { "row_count": 12, "top_row": { "month": "2026-11", "net_revenue": 412800 } }
}
05 / TECHNICAL FAQ

Metabase Integration FAQ

Does RhinoAgents work with both Metabase Cloud and Self-Hosted?

Yes, any Metabase instance reachable via HTTPS (including IP-allowlisted self-hosted servers) is supported.

Can we limit AI Employees to Saved Questions instead of raw SQL?

Yes. Disable raw SQL tools and grant only run_card_query() on curated Collections.

Are Metabase Dashboard filters supported?

Yes. Pass template tags or dashboard filter parameters directly into run_card_query().

Does it respect Metabase Group Permissions?

Yes. Metabase enforces your Group's Collection and Table permissions on every API key call.

Ready to Connect Metabase?

Build & Test Your Metabase AI Employee Today.

Start on the RhinoAgents platform with credits, or have our engineering team build, integrate, and manage your Metabase AI workflows end-to-end.