---
title: Metabase API Integration on Truto
slug: metabase
category: Analytics
canonical: "https://truto.one/integrations/detail/metabase/"
---

# Metabase API Integration on Truto



**Category:** Analytics  
**Status:** Generally available

## Unified APIs

### Unified User Directory API

- **Users** — The User object represents a User.

## How it works

1. **Link your customer's Metabase account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Metabase.** The Proxy API is a 1-to-1 mapping of the Metabase API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Automate user provisioning and deprovisioning in Metabase** — IT governance and identity management platforms can use Truto's Unified User Directory API to automatically create, update, and suspend Metabase user accounts in sync with HRIS or IdP events — ensuring employees get the right analytics access on day one and lose it instantly on offboarding.
- **Sync permission groups with centralized role management** — SaaS platforms managing enterprise software access can map organizational roles to Metabase permission groups via Truto, enforcing least-privilege access to sensitive dashboards and datasets without requiring manual admin intervention in each customer's Metabase instance.
- **Audit and report on analytics tool user access** — Security and compliance platforms can pull a unified view of all Metabase users across their customers' instances to generate access reviews, detect dormant accounts, and flag permission drift — critical for SOC 2 and SOX compliance workflows.
- **Provision analytics dashboards alongside user onboarding** — Vertical SaaS products that push data into customer warehouses can programmatically create Metabase users, assign them to the right groups, and point them at pre-built dashboards — delivering a seamless, zero-setup BI experience as part of their core product.

## What you can build

- **Automated Metabase account lifecycle management** — Automatically create and deactivate Metabase user accounts when employees join or leave, driven by HRIS or directory events synced through Truto's Unified User Directory API.
- **Cross-platform user access dashboard** — Show a unified view of which employees have active Metabase accounts alongside their access to other SaaS tools, powered by Truto's normalized user directory data.
- **Role-based permission group mapping** — Automatically assign Metabase users to the correct permission groups based on their department or role in a centralized identity source, reducing manual admin overhead.
- **Dormant account detection and cleanup** — Identify Metabase users who haven't been active and trigger automated deprovisioning or review workflows to reduce license waste and security exposure.
- **Compliance-ready user access reports** — Generate exportable audit logs of all Metabase user accounts, group memberships, and provisioning events for SOC 2 and internal security reviews.

## FAQs

### How does authentication work with Metabase instances?

Metabase's REST API supports session-based authentication using username/password credentials, as well as API keys for programmatic access. Truto handles the authentication flow so your end users can securely connect their Metabase instances without you managing tokens or session renewal directly.

### Which Truto Unified API is available for Metabase today?

Metabase is currently supported through Truto's Unified User Directory API, which covers user listing, creation, updates, and deactivation. Additional tools and unified API coverage (such as for cards, dashboards, and collections) can be built on request.

### Does this work with both self-hosted and Metabase Cloud instances?

Yes. Since Metabase exposes the same REST API regardless of deployment model, Truto can connect to both self-hosted Metabase instances and Metabase Cloud — as long as the API endpoint is reachable and valid credentials are provided.

### Can I manage Metabase permission groups through Truto?

Metabase's API exposes permission group management endpoints. While Truto's Unified User Directory API covers core user operations, group assignment and permission mapping capabilities can be built as custom tools on request to fit your specific workflow.

### Are there rate limits I should be aware of on the Metabase API?

Metabase does not enforce strict published rate limits in the same way as large SaaS APIs, but self-hosted instances are limited by server resources, and aggressive polling can degrade performance. Truto handles pagination and request management to minimize load on your customers' instances.

### What if I need to work with Metabase cards, dashboards, or query execution?

These are not covered by the Unified User Directory API, but Metabase's API supports full CRUD operations on cards, dashboards, collections, and query execution. Truto can build custom tools for these workflows on request — reach out to discuss your specific use case.
