Metabase customization

Customizing self-hosted Metabase means tuning models, metrics, native questions, branding and the API within your edition's limits. This page shows what the work includes, what drives cost, and where a paid plan is required.

On this page

Metabase customization: what teams outsource and what they keep

Teams running a self-hosted Metabase that already works usually keep the day-to-day customization in-house and bring in a partner for the parts that touch infrastructure. Curating models, defining metrics, building branded dashboards and maintaining saved questions are work that an analytics owner can do inside the application, so most teams start there. A partner tends to be useful when the work reaches the application database, the JAR deployment or automation through the REST API, because mistakes there affect every user and every upgrade. The line between the two is where the work changes hands.

Configuration inside the app covers models, metrics, native SQL questions, collection layout, branding settings and custom maps. Changes here are visible in the admin interface and are reversed by editing them back. Customization that touches the system is different: it includes writing scripts against the REST API to create collections or permissions, moving content between instances with serialization, changing the JAR or its startup settings, and altering the application database directly. Each of these needs a test environment, a change record and a plan for the next upgrade, since migrate and schema changes run automatically on upgrade. Ask whether your team has a staging copy of the application database to test against.

Licensing sets the outer limit on what you can build. The repository ships the open source edition under the AGPL and the commercial editions under the Metabase Commercial Software License, so modifying source code and distributing it carries license obligations that differ by edition. Some capabilities you may want to script around, such as SSO, row and column level permissions and usage analytics and auditing, are included only in the Pro and Enterprise plans according to the Metabase pricing page. Confirm with your legal and procurement teams which edition you run and which features are in scope before you design a customization that depends on them. Ask any partner to write the customization scope against the specific plan, not against the feature list in general.

What Metabase customization work includes

Metabase customization covers how the data model, metric definitions, query logic, branding and configuration are shaped for your organization. The components below build on each other: curated models and metrics give people trustworthy starting points, native questions cover what the visual editor cannot, and serialization and API scripts keep the result consistent across environments. Each card ends with the deliverable the owners receive.

Data models and curated tables

A model is a saved question that other questions can build on, so analysts start from a reviewed table rather than raw warehouse tables. The work covers choosing which tables become models, renaming columns and setting descriptions, filtering out test or staging records, and checking joins against source data before publishing. Confirm who can edit models and which collection holds them, because edits flow into every question built on top.

Metrics and reusable definitions

Metrics store a single definition of a business measure, such as active customers or net revenue, so dashboards and questions calculate it the same way. The work defines filters, aggregations and date logic with the metric owners, then tests results against figures they already trust. Ask who approves a metric change, since a changed definition alters every dashboard that uses it. Deliverable: a reviewed metric catalog with owners and test queries.

Native SQL questions and parameters

Native questions let SQL experts write queries the visual editor cannot express, and field filters or variables let business users adjust them without editing code. The work covers query review for correctness and performance, parameter types, default values and how results behave when a filter is empty. Native SQL runs with the permissions of the connected database user, so confirm read-only credentials before any query is shared. Deliverable: a documented set of native questions with parameter guides.

Branding, custom maps and API scripts

Branding changes the application name, colors and logo, while custom maps let you add GeoJSON regions for location-based visualizations. Teams that manage many objects often script changes against the REST API, but custom scripts become maintenance items that need owners, version control and testing after each upgrade. Confirm which branding options your edition exposes and whether any script depends on an endpoint that may change. Deliverable: a branding setting record, map files and a versioned script repository.

Embedding docs

Serialization and environment promotion

Serialization exports collections, questions, dashboards and settings as files so the same configuration can move from a test instance to production. This keeps changes reviewable and reduces manual rebuilds. The work defines which objects are exported, how IDs and database connections are mapped between environments, and what is excluded, such as secrets and user accounts. Confirm serialization availability and its exact options for your edition before planning the promotion process. Deliverable: a versioned configuration export and a promotion runbook.

Customization documentation and handover

Customization is only maintainable if the owners understand what was built and why. The handover documents each model, metric and native question, the owner and review date, the scripts and their dependencies, and the steps to reproduce a change. It also records which customizations depend on the Metabase version, so upgrade planning can check them before a release is applied. Deliverable: an owner-facing guide and a change log for the customization set.

What drives customization cost and duration

This table lists the main factors that raise or lower the effort of tailoring Metabase, with the reason each one matters and how to keep it under control. Read it before scoping a customization project, because the same request can take very different effort depending on how many definitions, sources and environments are involved.

DriverWhy it raises effortHow to keep it down
Models and metricsEach model and metric is a shared definition that other questions and dashboards depend on, so changes ripple outward and need review.Agree definitions for revenue, active users and similar terms before building, and limit the first release to a small set of certified models.
Native questions and SQL dialectsHand-written SQL is tied to a specific database dialect and schema, and it is harder to test, permission and maintain than GUI questions.Prefer GUI questions where they meet the need, and keep native SQL to a documented, reviewed inventory with one dialect per data source.
Data source count and schema qualityEvery connected database adds sync settings, credentials, field types and modeling work, and poorly named or undocumented tables multiply that work.Connect only the sources needed for the first use cases, and fix naming or key problems in the warehouse or with views before modeling.
Branding and custom mapsLogos, colors, custom map regions and geographic files each need design approval, file handling and checks across screens and exports.Limit branding to theme settings and a single logo, and confirm map requirements early so only the regions actually needed are built.
API automation scopeScripts that create, update or move collections, users and questions require authentication design, error handling and testing against each environment.List the specific tasks to automate, start with read-only reporting or provisioning, and keep scripts in version control with tests.
Serialized configuration across environmentsMoving settings between development, staging and production means exporting, reviewing and importing config, and handling environment-specific values such as connection details.Decide early which objects are serialized, keep secrets and connection details out of exported files, and document a promotion checklist.
Edition and paid featuresRow and column permissions, SSO-based access and some embedding options need Pro or Enterprise, and designing them adds policy, group mapping and testing work.Confirm the required features against the current pricing page before design, and use the free edition's options where they meet the requirement.
Compliance reviewAssessors may ask for evidence of access controls, change records, audit logging and tested upgrades, which adds documentation and sign-off steps.Ask which evidence the reviewer needs before work starts, and keep configuration changes, permission models and test results in a single record.

How a customization engagement moves from scope to handover

The sequence turns a loose request for custom Metabase work into models, questions, branding and automation that have been tested against the permissions real users will have, and handed over with runbooks the client's team can operate.

  1. Inventory current questions and owners

    We collect the questions, dashboards and reports people rely on today, the data sources behind them, and a named owner for each. Business owners confirm which metrics are authoritative and which definitions are disputed. Output: a written inventory listing each question, its source tables, its owner and its priority. The step is done when owners have signed off the list and the out-of-scope items are recorded.

  2. Check edition and permissions against the feature list

    Before designing anything, we check which Metabase edition the client runs and which features the customization depends on. Row and column level permissions, SSO, and usage auditing are limited to the Pro and Enterprise plans according to the pricing page, so a design that needs them cannot be delivered on Open Source or Starter. Output: an edition decision record that states which requirements are met, which need a plan change, and which the client must confirm with Metabase directly. The step closes when the client accepts that record.

  3. Design models and metrics

    We define the models and metrics that sit between raw tables and end users, so that business logic lives in one governed place instead of being repeated in each question. Each metric gets a plain definition, a source, and a named approver. Output: a design document with model and metric definitions, their dependencies and the collections where they will live. The step is complete when the approver has reviewed each definition against the inventory from the first step.

  4. Build native questions and branding

    We build the native SQL questions that the model layer cannot express, apply the instance branding settings, and set up any custom map files the client needs. Native questions are reviewed for query cost, parameter handling and the database credentials they run under. Output: a build record listing each native question, its parameters, the database role it uses, and the branding and map changes made. The step closes when a reviewer has checked the queries against a test dataset.

  5. Automate with the REST API or serialization

    Where the same objects must exist in more than one environment, we script their creation and changes through the REST API or move them with serialization. This keeps development, staging and production consistent and makes changes reviewable. Output: scripts or serialized files stored in the client's version control, with a short note on how to apply them and how to roll them back. The step is done when a clean instance can be rebuilt from those artifacts alone.

  6. Test against real permissions

    We test every model, metric, question and dashboard while logged in as representative users from each group, not as an administrator. This shows whether permissions hide data correctly and whether results match the definitions approved earlier. Output: a test log with each case, the account used, the expected result, the actual result and any defects with their fixes and retest status. The step closes when the client's owners accept the results.

  7. Hand over with runbooks and plan retesting

    We deliver the documentation, artifacts and access the client's team needs to run the customization without us. Runbooks describe how to change a metric, add a native question, apply API or serialization changes, and reverse them. Each runbook states that upgrades can change behavior, so the test cases must be repeated after any Metabase upgrade and before the upgrade reaches production. Output: a handover pack with runbooks, the test log, the design documents and a named internal owner. The step is complete when the owner has run one change from the runbook successfully.

How customization differs by starting point

A fresh self-hosted install usually starts on the embedded H2 application database, which suits demos and evaluation but is not where heavy customization should be built. H2 stores Metabase's own metadata (users, collections, saved questions, models, metrics and settings) in a file, so anything you build on it has to be migrated later. Metabase recommends PostgreSQL for production, so the first decision is whether customization waits until the application database is moved.

  • Build models and metrics after the move: Models, metrics and custom SQL questions are stored in the application database, so building a large library on H2 means moving it later.
  • Treat branding and custom maps as low-risk: These settings are small and can be reapplied, but record them so they can be repeated on the new database.
  • Plan the H2 to PostgreSQL move early: The load-from-h2 command must run with the same Metabase version that last updated the H2 file, so version control matters from day one.
  • Keep the demo data separate: Sample data and test questions should not become the seed for production collections.
  • Expect a short-lived build: Anything created only for evaluation should be marked for review before it becomes a governed asset.

Before heavy customization, confirm with your team whether the install will move to PostgreSQL and when, and read the H2 migration guide to decide the sequence.

Which customization parts stay in-house and which go to a partner

This table maps each Metabase customization part to the team best placed to own it, the skills it needs, and when a partner adds the most value. Read it to decide which work your analytics team can carry and where outside backend or platform expertise shortens troubleshooting.

Customization partUsually owned bySkills neededWhen a partner adds most value
Business definitions and metric ownershipAnalytics teamDomain knowledge, agreement on metric logic, data governance habitsRarely needed, unless definitions must be mapped from an older BI tool
Models and saved questionsAnalytics team with data analystsStrong SQL, understanding of source tables, naming conventionsWhen a large set of legacy reports must be rebuilt and validated
Custom SQL and native questionsAnalysts for logic, partner for tuningQuery plans, indexing, database-specific SQL dialectsWhen slow queries hit production databases and need profiling
REST API scriptingPlatform or data engineering teamAPI authentication, scripting, error handling, version awarenessWhen automation must survive upgrades and needs code review
Serialization and content promotionPlatform team, with partner supportGit-style change control, environment separation, careful review of exported contentWhen moving content between development, test and production must be repeatable
Permission design (groups, collections, row and column rules)Security or governance lead with analytics ownerAccess model design, least-privilege thinking, understanding of plan limitsWhen the access model must be reviewed against internal audit expectations
Backend troubleshooting (JVM, JAR, application database)Partner or internal engineers with Clojure or Java experienceClojure or Java debugging, JVM tuning, database administrationWhen startup, migration or performance failures appear in the backend
Branding and custom mapsAnalytics or marketing teamAsset handling, styling, basic configurationRarely needed, unless custom map files need validation

What usually goes wrong in Metabase customization

Most Metabase customization problems do not show up on the day the change is made. They surface later, when a metric is reused, a version changes, or a second environment is built from the first. The cards below cover the risks we see most often and the preventive step for each.

Metric definitions diverge

When the same business measure is rebuilt as separate saved questions or ad hoc SQL, each copy drifts. Two dashboards can report different active customer counts without anyone noticing. Define the measure once as a metric or model in a governed collection, then have questions reference it. Review the definition whenever a source table changes.

Metabase permissions docs

Native SQL bypasses permissions

Native questions run the SQL you write against the connected database, so a question that is hidden from a group can still reach data through a query someone pastes in. Row and column restrictions designed in the Metabase permissions model do not protect data that a native query reads through a connection the user can access. Check which groups can write native queries and which database connections they can reach.

Customizations lost during upgrades

Changes made in the application through the UI, such as collections, dashboards and settings, live in the application database and survive upgrades when that database is migrated. Changes made by editing files on the server or in the JAR do not. Keep a written inventory of custom configuration, and confirm it after every upgrade in a staging copy before production.

Upgrading Metabase docs

Serialized config drifts between environments

Teams that move dashboards and settings between development, staging and production often edit the target directly, then overwrite or ignore later exports. The environments then disagree about which version is correct. Choose one direction of change, promote only through the export, and record which environment is the source of truth for each object type.

Branding and maps break after upgrades

Custom logos, colors, favicons and custom map regions are tied to specific settings and file formats that can change between releases. A map file that renders in one version may fail or fall back to defaults in another. After each version change, check branding and any custom geojson map on a staging instance before the upgrade reaches users, and keep the source files under version control.

Customizing an H2 database directly

The default H2 application database is intended for demos. Metabase documents a one-time load-from-h2 command to move the data to PostgreSQL or MySQL, and it must run with the same Metabase version that last updated the H2 file. Building custom collections, users and permissions on H2 and migrating later adds version-matching and rework risk. Move the application database to PostgreSQL before customization work starts.

H2 migration docs

How customization layers fit together

Customization starts at the connected data sources, which Metabase reads through its query engine. Models and metrics sit on top of those sources, giving saved questions and dashboards a shared definition to build on, and API consumers can read the same objects. Everything Metabase stores about these objects lives in the application database, so that database is the thing to back up and protect. Permissions and SSO sit on the edition gate, so confirm which features your chosen plan includes before designing around them. Serialization or API export is the path for moving customized content between environments, and it should be tested against the same Metabase version on both sides.

Customization objects, their storage, and the edition-gated controls.

How customizations survive Metabase upgrades

Custom models, metrics, native questions, dashboards and API scripts are stored in the application database, so an upgrade touches them indirectly. Metabase runs application database migrations automatically when a newer JAR starts, which means the schema your customizations depend on can change without a separate step from your team. Before any upgrade, take a backup of the application database and record the exact version you are leaving. The upgrade guidance recommends this backup, reducing a cluster to a single node for major upgrades because of the migration lock, and moving release by release if you are coming from a version older than 40.

Rollback has two paths. The recommended path is restoring the pre-upgrade application database backup and starting the previous JAR, which returns models, saved questions, permissions and settings to the state you captured. The alternative is running the migrate down command with the newer JAR, which reverses migrations but is a less familiar path for most operators. Decide which path you will use before the change window opens, and rehearse it on a copy of production. Confirm with your own environment team how long a restore takes for your database size, since that determines how long a failed upgrade can keep users offline.

Support windows set how often you will face this work. Metabase LTS versions are supported for 14 months, while non-LTS versions usually reach end of life after about 2 months, so a team that skips LTS releases will upgrade far more often. After each upgrade, retest custom models, native questions with hard-coded SQL, and API scripts that call endpoints or read fields, because a change in a query engine, a field name or an API response can break them without any visible error on the home page. Keep a short test list with expected row counts for key questions, and ask your implementation partner or internal team to own that list so the retest is repeatable.

Metabase customization questions buyers ask

What drives the cost of Metabase customization?

The cost depends mainly on how many customizations are in scope, how complex the underlying data is, and how many people must review and approve the work. Customization covers models, metrics, custom SQL and native questions, branding, custom maps, REST API integrations and serialization. Each item adds design, build, testing and handover effort. Two costs are separate from any services fee: the software itself, and the infrastructure and staff time to run it. Ask any quote to list each customization item, who builds it, who tests it, and what documentation is handed over. Confirm whether any item needs a paid Metabase plan before work starts.

How long does a typical Metabase customization take?

Duration depends on scope and must be confirmed in a written quote. A branding change and a handful of models can differ greatly in effort from a set of metrics tied to several source databases, a custom map, and API-driven provisioning. The main timing factors are the number of data sources, how well the business definitions are agreed, the number of review cycles, and whether changes must be tested on a staging copy before production. Ask for the work broken into phases with a review point after each one, so you can see where time is spent.

Can our internal team customize Metabase without outside help?

Yes, many teams do this in-house, especially for models, saved questions and collection layout, which are built through the Metabase interface. Custom SQL, native questions, REST API scripts and serialization need someone comfortable with SQL, HTTP APIs and version control. The practical test is whether one or two people can own the work after go-live. Consider the review load too: metric definitions need agreement from finance or operations owners, not only engineers. A partner is most useful for a fixed set of items with a defined handover.

What must our team provide before customization starts?

Expect to provide access and decisions, not just time. Typical inputs include a running Metabase instance in your environment, a staging copy for testing, read-only database credentials for each data source, named business owners who approve metric definitions, brand assets and style guidelines for branding, and GeoJSON or other map files for custom maps. You also need a list of collections and permissions that must match your access model. Confirm access paths and approval contacts in the written scope so that delays are visible early.

Does custom Metabase work survive upgrades?

Most custom work survives upgrades, but it should be tested after each one. Models, metrics, saved questions, collections and settings live in the application database, which Metabase migrates automatically during upgrades. Custom SQL and API scripts depend on the query behavior and endpoints of a specific version, so they need regression checks. Branding and custom maps should be reviewed visually. Keep serialized configuration and scripts under version control, and back up the application database before any upgrade. Confirm the upgrade and support plan in writing, including who tests after each release.

Which Metabase customization features need a paid plan?

Most of the customization work above is available on the open source edition, but identity and governance features are not. According to the Metabase pricing page, SSO, row and column level permissions, multi-tenant data segregation and usage analytics and auditing are included only in the Pro and Enterprise plans. Starter also does not include these. Embedding with SSO-based authentication also requires Pro or Enterprise, while guest authentication works on all plans. Confirm the plan that matches each requirement on the current pricing page before you finalize the design.

How do Metabase customizations affect security reviews?

Customizations that expose data, such as public links, embeds, custom SQL and API tokens, need the same review as the rest of the platform. Custom SQL and native questions run with the permissions of the database credential they use, so that credential should be read-only and scoped to the required schemas. Document which customizations expose data outside the core group and who approved them. Your compliance team will ask for this evidence, and it should be produced during the build rather than reconstructed afterward.

How DeployOpen scopes, delivers and hands over Metabase customization

DeployOpen plans and builds Metabase customization inside your own infrastructure, starting from a written scope that names each model, metric, native question, branding change and API integration. We document what we build so your team can review, maintain and extend it after handover.

How we scope

  • Inventory which customizations you need: models, metrics, custom SQL questions, branding, custom maps or REST API use.
  • Confirm your edition, since SSO, row and column permissions and auditing require Pro or Enterprise.
  • Agree the scope, deliverables and timeline in writing before work begins, with a quote following from that scope.

How we build

  • Build models and metrics on governed tables, then test native questions against the same data sources and permissions.
  • Apply branding and custom map changes in a staging instance, and record each configuration choice for review.
  • Export configuration through serialization where your edition supports it, and test API scripts against a non-production instance first.

How we hand over

  • Deliver a written record of each model, metric, question and API integration, with its owner and purpose.
  • Walk your analysts and administrators through the changes, including which items depend on a paid plan.
  • Store configuration and scripts in your own repository so your team can review changes and roll them back.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after go-live.
  • Retest customizations when you upgrade Metabase, confirming versions against the official version support page.
  • Confirm with your team which support hours, response paths and change approval steps apply before engagement starts.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.