Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Metabase Integration

4 sites No security coverage
View on drupal.org

This module allows you to securely embed Metabase dashboards into your Drupal site using a configurable block. It uses Metabase's token-based authentication to protect sensitive data, making it easy to display dashboards without custom theming or iframe configuration.

Project summary

Embeds Metabase dashboards in Drupal using a configurable block with secure, token-based authentication.

Introduction

This module provides a simple and secure way to embed Metabase dashboards directly into Drupal sites. It adds a custom block type that allows site builders to display Metabase dashboards within Drupal regions without custom theming or manual iframe configuration.

Authentication and access control are handled using Metabase’s signed embedding mechanism, ensuring that dashboard access and sensitive data remain protected.

The module is lightweight, configuration-driven, and suitable for both internal analytics dashboards and user-facing reporting interfaces.

Features

  • Adds a Metabase Dashboard block type
  • Secure dashboard embedding using signed tokens
  • No hardcoded credentials in configuration
  • Easy placement using Drupal’s block layout system
  • Compatible with Drupal 10 and Drupal 11
  • No server-side performance impact

Requirements

  • Drupal 10 or Drupal 11
  • A running Metabase instance with embedding enabled
  • A Metabase secret key configured in Drupal settings

There are no additional module dependencies.

Installation

Install the module as you would any contributed Drupal module.

For general installation instructions, see: https://www.drupal.org/node/895232

Configuration

  1. Add the following values to your settings.php file:
    $settings['metabase.site_url'] = 'https://metabase.example.com';
    $settings['metabase.secret_key'] = 'your-secret-key';
  2. Go to Administration → Structure → Block layout.
  3. Add a new block of type Metabase Dashboard to the desired region.
  4. Configure the block with the appropriate dashboard settings and save.

Use cases

  • Internal analytics dashboards
  • Business intelligence reporting
  • Administrative or editorial metrics
  • Secure, role-based dashboard display

Activity

Total releases
2
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.1 Stable Jan 27, 2026
1.0.0 Stable Jan 27, 2026