When a Metabase Remote Sync workflow with Git fits your team
If several analysts edit dashboards and saved questions directly in production, you have a change history problem before you have a tooling problem. Nobody can say who changed a metric definition last Tuesday, and a reviewer has no place to look before a change goes live. Metabase Remote Sync addresses that gap by moving analytics content through Git instead of through the production UI. It is available on Pro and Enterprise plans, so confirm your plan before you design around it.
Remote Sync moves top-level collections, Library content and transforms. It stores only YAML files that describe that content in Git, so the repository holds definitions, not warehouse rows. That distinction matters for the access review: the repository is still sensitive, because Metabase advises treating write access to it like admin access, and a merged change can alter what every production viewer sees. Teams that suit this model usually have a small group of builders, a reviewer who understands both the data and the Metabase permission model, and an existing Git hosting platform with branch protection. Teams that rely on ad hoc, one-off exploration with no production sharing have less to gain.
Before committing, check three things with your Metabase account team and your own environment: whether your plan includes Remote Sync for both the read-write and read-only instances, which content types your analysts actually build (not every collection or transform type may be in scope for your workflow), and who will hold write access to the repository. Also confirm where the Git server will run and who operates it, since that adds an upgrade and backup obligation to your team. Start with a short list of collections that matter most, prove the review loop there, and widen scope once reviewers trust the diffs.
How content flows from the read-write instance to production
The flow starts with analysts building saved questions, dashboards and collections in a read-write Metabase, which Remote Sync exports as YAML files to a Git repository. Changes reach production only through a pull request that reviewers approve, after which the read-only production Metabase pulls the merged content automatically. The warehouse sits outside this path: Remote Sync stores only YAML describing analytics content, never data, so the production instance still queries its own databases directly. Check that the repository's write access is restricted like admin access.
Content moves through Git as YAML, while data stays in the warehouse.
Remote Sync configuration choices and when each fits
This table compares the main configuration choices for Metabase Remote Sync: what content to sync, how to lay out the Git repository, how to branch for review, and whether to share one repository across environments. Read each row as a decision to settle with your analytics and security leads before the first sync. The main takeaway is that the content scope and access model are hard to change later, so settle them first.
| Choice | Options | Trade-off | When it fits |
|---|---|---|---|
| Content scope | Top-level collections only | Smallest sync surface, but Library content and transforms stay outside Git unless added | Teams that keep official definitions in collections and want the narrowest change set |
| Content scope | Top-level collections plus Library content and transforms | Broader coverage of analytics assets, so more reviewers and more YAML to read in each pull request | Organizations that manage metrics, curated tables and transforms as code |
| Git provider and repository | Self-managed GitLab in your infrastructure | You control hosting, access and backups, but you run the upgrade and recovery work | Organizations that already run self-managed source control and want Git data on their own network |
| Git provider and repository | Hosted Git service or existing corporate Git server | Less operations work, but confirm data residency, access logging and whether the service is approved for your data classification | Teams whose Git governance already covers hosted services |
| Repository layout | Single repository for one Metabase content set | Simple history and one review queue, but mixed ownership can slow reviews | Small analytics teams with one business domain |
| Repository layout | Separate repositories per business domain or region | Clear ownership and access per domain, with more repositories to maintain | Organizations with separate data owners or regional data rules |
| Branch strategy for review | Feature branches merged into a protected main branch | Standard review flow that fits common Git policies, and it depends on how your read-only production instance tracks the branch | Most teams that want every change reviewed before production |
| Branch strategy for review | Per-environment branches (for example, a staging branch and a production branch) | Explicit promotion path, but branches drift and merges become harder to audit | Teams that promote through a staging instance before production |
| Shared repository or per-environment branches | One shared repository, branch per environment | One place to govern access, and reviewers must watch branch-specific settings | Organizations with one review team across environments |
| Shared repository or per-environment branches | Separate repositories per environment | Hard separation of access, with more sync to keep aligned | Organizations that must limit who can change production content |
Setting up Remote Sync from a read-write instance to production
This sequence connects a read-write Metabase to a Git repository and a read-only production Metabase, so analytics content moves from build to production only through reviewed changes. Each step ends with a check you can run before moving on.
Confirm Pro or Enterprise licensing for both instances
Remote Sync is available on Pro and Enterprise plans, so confirm the plan on the read-write instance and on the read-only production instance before any other work. Ask your Metabase account contact or check the plan in the admin settings, and confirm that the license covers each instance you intend to run. Pricing on the Metabase pricing page is published per plan, so your quote should state which plan each instance requires. Done when both instances show an eligible plan and the Remote Sync settings page is visible to an admin on each.
Provision the Git repository and scoped access
Create a dedicated repository for the YAML files that Remote Sync writes, separate from application code, and decide who can push to it. Metabase advises treating write access to the Remote Sync repository like admin access, so limit write permissions to the service identity used by the read-write instance and to reviewers who merge changes. Set branch protection so that changes reach the main branch only through a reviewed pull request. Done when the repository exists, branch protection is on, and you can list the people and service accounts with write access.
Configure the read-write instance to push to Git
In the read-write Metabase, open the Remote Sync settings, connect the repository with the access credential created in the previous step, and choose the content to sync: top-level collections, Library content and transforms, as applicable to your setup. Set the branch the instance writes to and confirm the mode is set so that the read-write instance pushes changes. Store the credential in your secrets manager, not in a shared document. Done when a test save or sync produces a commit on the working branch containing YAML files and no warehouse data.
Configure the read-only production instance to pull
On the production Metabase, set Remote Sync to read-only mode, point it at the same repository and the branch that holds reviewed content, and restrict production edits so that content arrives only by sync. Confirm the production instance pulls on its configured schedule and that its own users cannot edit synced collections directly. Document which branch production follows so that a merge is the only path to change. Done when a manual or scheduled pull completes and the production instance shows the content in the synced collections as read-only.
Run a test change through a pull request
Make a small, clearly labeled change in the read-write instance, such as a renamed test collection or a single saved question, and let Remote Sync push it to the working branch. Open a pull request in Git, review the YAML diff, and confirm that only analytics content files changed and that no connection strings, credentials or row data appear. Merge the pull request after review. Done when the pull request shows the expected diff, the reviewer has approved it, and the merge is recorded in the main branch history.
Verify that production reflects the reviewed change
Wait for the production instance to pull, or trigger a pull if your setup allows it, then check that the test change appears there exactly as it was reviewed. Confirm that the production content matches the merged YAML, that permissions and database connections on production are unchanged by the sync, and that the change cannot be edited in the production UI. Record the commit identifier against the production change so an auditor can trace it. Done when the reviewed change is visible in production, the commit reference matches the merge, and the production edit controls are locked.
Document the workflow and retire the test change
Write a short runbook covering who may push, who approves merges, which branch production follows, how to roll back by reverting a merge commit, and where the repository credential is stored. Remove the test change through the same pull request path so the removal is also reviewed and traceable. Ask your DeployOpen or internal team to confirm the runbook matches the actual configuration on both instances. Done when the runbook is stored with the repository, the test change is removed through a merged pull request, and production reflects that removal.
Protecting the repository and the review gate
Remote Sync turns a Git repository into the path by which analytics content reaches production, so whoever can write to it can change what production shows. The cards below cover the controls that keep that path reviewed, credentialed and free of data.
Treat write access as admin access
Metabase advises treating write access to the Remote Sync repository like admin access. Anyone who can push a branch that gets merged can change dashboards, questions and collections that a read-only production instance will pull. List who holds write, maintain-level or merge rights on the repository, and confirm that group membership is reviewed on the same cycle as Metabase admin accounts. Illustrative check: a contractor with push rights to a feature branch should not also be able to merge to the branch Metabase pulls from.
Remote sync docsProtect the production branch
The branch that the production instance reads is the one place where review must not be bypassed. Enable branch protection so direct pushes are blocked, merges require a pull request, and force pushes and branch deletion are disabled. Confirm this with your Git hosting platform's settings, since the exact options vary by vendor and tier, and test it by attempting a direct push with a maintainer account.
Require independent reviewers
A pull request is only a control if someone other than its author approves it. Set a required number of approvals, block self-approval where the platform allows it, and assign reviewers who understand the content, such as the owner of the affected collection. Review should cover what changed in the YAML, including permission-related content and collections moved between scopes, not only that a diff exists.
Keep Git credentials out of config files
The Git token or SSH key that Metabase uses to read or write the repository is a secret with broad reach. Store it in your secrets manager or the platform's encrypted variables, not in a committed file, a config.yml or a shared runbook. Use a dedicated service account with the narrowest repository scope the feature needs, set an expiry date, and document who can rotate it and how a leaked credential would be revoked.
Keep data out of the repository
Remote Sync stores only YAML files describing analytics content, not the data itself. Even so, saved questions, dashboard text and collection descriptions can contain customer names, internal hostnames or sample rows typed into a text card. Scan pull requests for sensitive strings before merge, and add repository rules that reject files containing credentials or large data exports. Ask the vendor to confirm exactly what each exported file contains.
Audit every merge and change
Keep a record of who approved each merge, when the production instance pulled it, and which commit it now reflects. Git history supplies the content trail, while Metabase audit features show activity inside each instance. Confirm that your Git platform's audit log is retained for the period your review process requires, and that production pull events are logged somewhere your security team can query.
Questions teams ask before running Remote Sync
Which Metabase plan do I need to run Remote Sync?
Remote Sync is available on the Pro and Enterprise plans, so an Open Source or Starter instance cannot use it. Pro is listed on the pricing page at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Enterprise is priced by quote starting at $20,000 per year. You need two instances, a read-write development instance and a read-only production instance, so confirm with Metabase whether your licensing covers both and how users are counted on each. Ask for the figures in writing before you commit.
What does Git hosting add to the cost of Remote Sync?
The Metabase license is only one part of the bill. You also need a Git repository that the development instance can write to and the production instance can read from, and the hosting cost depends on whether you run it yourself or use a hosted service. Self-managed GitLab, for example, is free at its Free tier, Premium is listed at 29 US dollars per user per month billed annually, and Ultimate is custom priced, according to the GitLab pricing page. Check the current tier that covers your review and access controls before choosing.
How long does it take to get a first working Remote Sync pipeline?
No supplied figure sets a duration, and the answer depends on how many collections, Library content and transforms you sync, how your Git hosting is already set up, and how many people must approve changes. The first pipeline usually takes longest because someone must agree on the repository layout, the branch and pull request rules, and who holds write access. Ask any partner for a written timeline based on that scope, and ask your own team to confirm which Git platform and identity setup they already use.
What must our internal team provide before the work starts?
Your team needs to decide what content is in scope, which top-level collections, Library content and transforms move through Git, and who may approve a merge into the production content. You also need a Git repository, a service account or token for each instance, network paths between the two Metabase instances and the Git host, and a named owner for the repository. Metabase advises treating write access to the Remote Sync repository like admin access, so the people who hold that access should be chosen with care.
Can our own engineers set up and run Remote Sync without a partner?
Yes, a team with Metabase administration skills and Git experience can configure Remote Sync using the Metabase documentation, and many teams do this in house. The work that tends to need outside help is the review process design, the access model for the repository, and the cutover from manual changes to a Git-based workflow. Decide early who will own the pipeline after go-live, because the production instance depends on it. A partner can be engaged for a fixed scope, while ongoing support is available as a retainer.
How is Remote Sync different from Metabase serialization?
Remote Sync keeps a repository in Git that stores YAML files describing analytics content, and a production instance pulls those changes automatically. Serialization is a one-time or manual export and import of content between instances, using the CLI or API. Remote Sync stores only YAML, never data, so the same limits on what is carried across apply to both. If your team only needs occasional promotion or regional copies, serialization may be enough, but Remote Sync gives you a repeatable review path with history in Git.
What happens when production and development content diverge?
Divergence happens when someone edits content directly in the production instance, or when a change is made in development and not yet merged, so the two sides no longer match Git. Because production is read-only, edits should come through the repository, which limits the problem, but it does not remove it for changes made outside the workflow. Agree on a rule for resolving conflicts, check the Remote Sync documentation for how it handles content that differs from the repository, and test the recovery steps in a non-production instance before you rely on them.
Limits to confirm in your environment
Remote Sync is a workflow that depends on how Metabase, Git and your review process behave together. The cards below list the points to verify against Metabase's documentation and your own setup before you build the pipeline, since each one changes how content moves from the read-write instance to production.
Supported Git providers
Confirm which Git hosts Metabase Remote Sync connects to, and whether your self-managed server is included. Check the authentication method it expects, such as tokens or SSH keys, and how the connection behaves behind a private network or proxy. Your choice of host decides where the write access that Metabase advises treating like admin access must be controlled, so test the connection with a non-production repository first.
Remote sync docsMerge conflict handling
Two people editing the same dashboard or collection in different branches can produce conflicting YAML. Confirm whether Remote Sync detects conflicts, how it reports them, and whether resolution happens in Git or in Metabase. Decide who owns the merge step, and agree on a rule for which side wins when the YAML cannot be merged cleanly.
Content types beyond the listed set
Remote Sync covers top-level collections, Library content and transforms. Ask Metabase whether questions, models, metrics, dashboards nested in sub-collections, permissions, and settings are carried into the YAML, and which are left behind. Anything not covered must be recreated in production by hand, so list every object type your team builds before you rely on the workflow.
Production UI edits
Confirm what happens when someone edits content directly in the read-only production instance. Check whether the next pull overwrites that change, whether the edit is flagged, and whether the instance refuses edits at all. Write this behavior into your runbook, and restrict production admin accounts so drift does not appear unnoticed.
Version compatibility between instances
Confirm that the read-write and production instances must run the same or compatible Metabase versions before YAML is exchanged. Check the version Remote Sync expects, how a mismatch is reported, and the order of upgrades. Because upgrades run migrations and Metabase versions have defined end-of-life dates, plan both instances on the same upgrade schedule.
- LTS support window
- 14 months
Sync timing and failure alerts
Remote Sync pulls changes automatically, so confirm how often production polls the repository, what it does when a pull fails, and where failures appear. Ask whether failed syncs trigger alerts you can route to your monitoring. Without that signal, production can quietly stay on an older state while reviewers assume the latest changes are live.
Hosting the Git side in infrastructure you control
Many regulated teams want the Git repository that holds their Remote Sync YAML to sit inside their own network, because the repository is where analytics content changes are reviewed and approved. Metabase Remote Sync stores only YAML files describing analytics content, not data, but Metabase advises treating write access to that repository like admin access. Whichever Git platform you choose, the decision is independent of Metabase: Remote Sync works with the repository you connect, so you can select the hosting model on the Git side without changing the Metabase setup. GitLab is one option among several, and this section covers what to check if it is on your shortlist.
GitLab's source repository is open core. Content under the ee/ directory is licensed under the GitLab Enterprise Edition license, and content outside it is available under the MIT Expat license, according to the LICENSE file in the gitlab-org/gitlab repository. Legal and procurement teams should read that file and the edition they install before committing, because the license that applies depends on the code path. On the GitLab pricing page, the Free tier costs 0 dollars, Premium costs 29 US dollars per user per month billed annually, and Ultimate is custom priced. All three tiers are listed for self-managed installations. Confirm with GitLab which tier covers the review controls, protected branches and approval rules your change process depends on, and whether the per-user price matches your count of reviewers and contributors.
Offline and air-gapped operation is documented by GitLab, with separate guidance for running its security scanners in disconnected environments. Ask the vendor or check the offline documentation for the scanners and features you plan to use, because not every capability works the same way without internet access. Ongoing costs are your own infrastructure, backups, staff time for upgrades and the required upgrade stops, plus any subscription you choose. Before you start, confirm the installation method, the backup approach and who owns patching, since the Git host becomes part of your change control evidence.
How DeployOpen scopes and delivers this workflow
Remote Sync spans two Metabase instances, a Git repository and a review process, so the work is mostly about agreeing boundaries before anything is connected. The cards below follow the order of an engagement, from written scope through infrastructure, review controls, end-to-end testing and ongoing support.
Written scope before any build
Scope is agreed in writing before work starts, covering which top-level collections, Library content and transforms will sync, which group owns each area, and who approves merges. Remote Sync only moves content that is inside the agreed boundary, so unclear ownership at this stage becomes unreviewed production changes later. The written scope also sets what the quote covers and what happens if the boundary changes.
Remote Sync docsRead-write and read-only instance setup
DeployOpen configures a read-write Metabase for development and a read-only Metabase for production, both inside your infrastructure. Remote Sync is available on Pro and Enterprise plans, so confirm the plan for both instances before design starts. Each instance needs its own application database, network path and admin accounts, and the production instance should never accept direct content edits.
Git repository and access control
The Git repository holds only YAML files describing analytics content, not query results or warehouse data, but Metabase advises treating write access to it like admin access. DeployOpen sets repository permissions, branch protection and the service credentials Metabase uses, so that only reviewed changes reach the branch production pulls from. Confirm who holds repository admin rights before go-live.
Pull request review workflow
Every change to analytics content should arrive as a Git pull request with a named reviewer, a checklist for dashboards and permissions, and a rule that blocks direct pushes to the production branch. DeployOpen documents the review steps your analysts follow, so that a reviewer can tell whether a diff reflects an intended change. Ask who signs off on changes to collections that hold sensitive metrics.
End-to-end test with a sample change
Before handover, DeployOpen makes a sample change in the read-write instance, opens a pull request, merges it after review, and confirms that the read-only production instance pulls the change. The test also checks what Remote Sync does not carry across, such as data and content outside the agreed scope. Keep the test record so that your team can repeat it after upgrades.
Retainers for upgrades and support
Metabase releases and Git hosting both change over time, so Remote Sync needs upgrades on both instances and in the repository host. DeployOpen offers retainers for ongoing support, upgrades and continuous testing once the initial build is accepted. Ask for the retainer scope, response expectations and how the sample change test is repeated for each upgrade.

