Branding and white-labeling a self-hosted Medplum app

Medplum branding happens in four places: build-time app variables, per-project app names, per-client sign-in forms and project SMTP senders. This page explains what each controls and what to plan before you configure them.

On this page

Branding a self-hosted Medplum app: what changes and where

Branding a self-hosted Medplum app is not one setting. Your own name and logo are split across build-time variables for the Medplum app itself (MEDPLUM_APP_NAME and MEDPLUM_LOGO_URL), and per-project and per-client settings that control what users see in a given tenant: the appName project setting, ClientApplication.signInForm, project SMTP and custom emails. The build-time variables change the app for every user of that build. The project and client settings change what a single project or sign-in client shows, so a multi-tenant product can present different names and forms to different customers from one deployment.

A single-tenant deployment, such as an internal tool for one organization, usually needs only the two build-time variables. Set them when you build the app, point the logo URL at an asset you host and control, and confirm the rendered pages on your own domain before go-live. A multi-tenant product needs all of the layers. Each customer project should carry its own appName, each customer-facing sign-in client should have its own signInForm, and any MFA or invite emails should come from that project's SMTP sender so the message matches the brand the user recognizes. Treat each layer as a separate configuration item with an owner and a review step, because a missed project setting shows the wrong name to a customer.

Before you plan the work, confirm which screens and emails your users will see, and where each one is rendered. The Medplum branding documentation lists the supported variables and settings for the current release, and the exact behavior of each should be checked against the version you deploy, since variables and fields can change between releases. Ask your implementation team to produce a short map of every touchpoint (login, MFA codes, invites, password resets, app header) with the setting that controls it. That map becomes the test script for your branding review and for any later upgrade.

Which branding mechanism fits which surface

This table compares the five branding mechanisms by what each changes, when it applies, whether it needs a rebuild, and the surface it fits. Read it by first deciding whether the change should reach every user of the deployment or only one project or client, then checking the rebuild column before scheduling work.

MechanismWhat it changesWhen it applies, and rebuild neededTypical fit
MEDPLUM_APP_NAMEThe application name shown in the Medplum appBuild-time variable, app-wide. Requires rebuilding the appOne product name for the whole self-hosted deployment
MEDPLUM_LOGO_URLThe logo shown in the Medplum appBuild-time variable, app-wide. Requires rebuilding the appOne logo for the whole deployment, set once with the app name
appName project settingThe name used for that project in MFA emailsPer project, applied through project settings. No rebuildSeparate names for each tenant or customer project on a shared deployment
ClientApplication.signInFormThe sign-in form that a specific client application presentsPer client application. No rebuildDifferent sign-in look for each customer or client-facing app
Project SMTPThe sender address and mail relay used for that project's emailPer project, from your own domain. No rebuildInvites, resets and MFA codes that must come from the customer's own domain
Custom emailsThe content and wording of project emailsPer project email content. No rebuildTenant-specific messages that carry the customer's name and terms

How to set up branding in the right order

This sequence moves from the Medplum build that carries your app identity, through per-project and per-client settings, to the email senders your users see, so each layer is confirmed before the next one depends on it.

  1. Confirm the target Medplum version

    Before changing anything, check which Medplum release your deployment will run. The releases page on the medplum/medplum GitHub repository lists the current versions and their publication dates, and the latest at research time was 5.2.5. Pin the version you intend to run so branding changes are built against the same release you will operate. If you are upgrading, complete the upgrade path first, because branding changes made against one version may need rechecking after a later upgrade. Done means you have a written version number that your build and deployment both reference.

  2. Set build-time app variables and rebuild

    Set MEDPLUM_APP_NAME and MEDPLUM_LOGO_URL as build-time variables for the Medplum web app, then rebuild and redeploy the app bundle. These values are fixed into the compiled app, so changing them requires a new build rather than a configuration edit on the running server. Your platform or DevOps team typically owns this step, and your frontend or build pipeline is where the variables are set. Confirm the result by loading the sign-in page from the rebuilt app in a browser and checking that your product name and logo appear, with no leftover Medplum branding in the header or page title.

  3. Set the app name for each project

    Per-project branding uses the appName project setting, which controls the application name that appears in MFA and other emails sent for that project. Set it on each project that serves a different customer or tenant, using the project administration screens or the API. Keep a record of which name belongs to which project so that support staff can trace a user complaint to the right tenant. Confirm the setting in a test project by triggering an MFA email and checking that the name in the message body and subject matches what you set.

  4. Configure the sign-in form per client application

    Use ClientApplication.signInForm to control the sign-in form for each client application, so each customer or product sees its own presentation at sign-in. Configure one client application per distinct sign-in experience, then open each one in a private browser session to confirm that the logo, wording and any custom fields show as intended. Check that a user from one tenant cannot reach another tenant's sign-in form by changing the client application identifier in the URL. Record the client application IDs in your configuration inventory so later changes are reviewed against them.

  5. Add project SMTP senders

    Configure project SMTP so that email for a given project is sent from your own domain instead of the server default. Work with your domain and email administrators to create the sender address, confirm SPF, DKIM and DMARC records for the sending domain, and enter the relay credentials in the project settings. Store the SMTP credentials in your secrets management system, not in plain configuration files. Confirm delivery by sending an invite, a password reset and an MFA code to a test mailbox in the project, then check the From header and the authentication results of each message.

  6. Customize the email content

    Adjust the email templates and wording for invites, password resets and MFA codes where your product needs different text, tone or footers. Review each template for clinical or regulated language your compliance team needs to approve, and remove any text that implies Medplum is your product. Treat template changes as release changes: keep them in version control and test them in a non-production project first. Done means each email type has been sent from a test project, the logo, app name and sender line match your settings, and your compliance reviewer has signed off on the final wording.

  7. Run an end-to-end check across tenants

    Finish with a walk-through in at least two test projects, each with its own app name, client application and SMTP sender. Sign in, trigger MFA, reset a password and open the sign-in form for each, and capture screenshots and message headers as evidence. Compare the results against your inventory of version, project and client application settings. Repeat this check after every Medplum upgrade or app rebuild, because a new build can reset values that were only set at build time.

Per-project names and per-client sign-in forms for multi-tenant products

A multi-tenant product built on self-hosted Medplum usually gives each customer its own Medplum project, and the branding can follow that boundary. The project's appName setting, the signInForm on each ClientApplication, the project's SMTP sender and custom emails let each customer see their own name and sign-in page while the code and build stay shared. The design question is which of these settings belongs to a tenant and which belongs to the platform. Confirm that mapping early, because a sign-in form or sender that is attached to the wrong project will show one customer's brand to another.

The main trade-off is between one shared build with per-project settings and a separate build for each brand. A shared build keeps one release pipeline, one upgrade path and one set of tests, and it is the approach that fits most multi-tenant products. Separate builds make sense only when a brand needs something the project settings cannot express, such as different app code or bundled assets. Each extra build adds a pipeline to maintain, a patch to apply on every Medplum upgrade and a second place where a security fix must land. Ask your team to list which brand differences are configuration and which are code before choosing.

Before rollout, check the design against your access control and multi-tenancy model. Project boundaries, access policies and any cross-project admin accounts determine who can read or change a tenant's branding, sign-in form or sender, so a branding change can also be a permissions change. Test that a user in one project cannot see another project's sign-in form, email sender or custom email text, and confirm which administrators can edit those settings. Record the result as a review item so that any future branding change goes through the same check.

Security and operational risks in custom branding

Branding a self-hosted Medplum app touches sign-in pages, email delivery and build pipelines, all of which users trust with credentials and clinical context. The cards below cover the risks that tend to appear when a branded deployment moves from a test setup into production.

Logo and sign-in content hosted outside your control

The logo set through MEDPLUM_LOGO_URL is fetched by every user's browser when the app loads, so the file host becomes part of your sign-in surface. If that host is a third-party bucket or a link you do not own, the image can be changed or removed without a deployment on your side. Host the asset on storage your team controls, serve it over HTTPS, and confirm who can write to that location.

Branding docs

Credentials stored in project SMTP settings

Per-project SMTP lets each project send invites, password resets and MFA codes from its own domain, which means relay credentials are stored in project configuration. Treat those credentials as secrets: restrict who can read or edit project settings, use a dedicated sending identity per relay, and rotate credentials on a schedule your security team sets. Confirm where the values are stored and who holds access to the admin role that can view them.

Look-alike sign-in pages and phishing

A branded sign-in form that closely imitates a bank, health system or partner can be used to harvest credentials, and users are trained to trust familiar logos. Per-client sign-in forms and custom emails both carry links and prompts that attackers can copy. Review every branded template for the exact sender, domain and wording users will see, and tell users which addresses and messages are authentic.

Change control for rebuilds and template edits

Build-time variables such as MEDPLUM_APP_NAME are baked into the app when it is built, so a change to them requires a new build and release. Email and sign-in template edits made in project settings take effect without a build, which means they can bypass the review your deployment pipeline enforces. Route both kinds of change through the same approval process, record who changed what, and keep a rollback copy of each prior template.

Branded assets drifting across upgrades

Medplum must be upgraded through each minor version in sequence, and each upgrade produces a new build of the app. Customized values can be lost, overwritten or left inconsistent if the build variables and project settings are not recorded outside the running system. Keep branding values in version-controlled configuration, add a visual check of the sign-in and email outputs to the upgrade test plan, and compare results against the prior release.

Upgrade guide

Branding that implies compliance or certification

Adding a partner or health system name and logo to a product can suggest that the hosting setup carries certifications it does not have. Medplum's compliance documentation describes compliance as a shared responsibility between Medplum and its customers, so the branded product owner answers for the controls around it. Confirm with your compliance lead which claims the branded product can make, and keep marketing text aligned with the evidence your independent auditors review.

Compliance docs

Questions teams ask about white-labeling Medplum

What work is needed to brand a self-hosted Medplum app?

Branding a self-hosted Medplum app is a set of separate configuration tasks, not one switch. At the app level, the build-time variables MEDPLUM_LOGO_URL and MEDPLUM_APP_NAME set the logo and name for the web app your users see. Per-project branding is handled separately through the appName project setting, each client application's signInForm, project SMTP sender settings and custom email templates. Your team also needs to decide which of these apply to a single brand and which apply per tenant, then test sign-in, MFA and invitation emails end to end. The Medplum branding docs list the settings and how each one is applied.

Can our team white-label Medplum without outside help?

Yes, if your engineers already run the Medplum server and can rebuild the web app with new build-time variables. The work is mostly configuration and testing rather than custom code, so the main question is whether someone owns the sign-in, email and tenant decisions and can verify them. Teams without email deliverability experience, or without someone who understands identity flows, often take longer on the SMTP and sign-in form pieces. A partner is worth considering when you need a written scope, a test plan across several brands and a retest after changes.

What drives the effort of white-labeling up?

Effort rises with the number of brands, the number of sending email domains, the number of distinct sign-in forms and how often you upgrade. Each brand adds its own app name, sign-in form, SMTP sender and email wording, and each of these needs verification. Each sending domain needs its own DNS and sender setup. Every new sign-in form is another path to test for MFA and password reset. Upgrades matter because Medplum releases move on a fixed cadence: patch versions ship weekly, and self-hosted servers must be upgraded through each minor version in sequence, so branding settings should be retested after each upgrade rather than assumed to hold.

What should we ask for in a quote for Medplum branding work?

Ask for a written scope that lists each brand, each sign-in form, each sending domain and each custom email template in scope. Ask which build-time variables and project settings will change, and who performs the rebuild and deployment. Confirm what testing is included, such as sign-in, MFA codes, invitations and password resets for every brand, and whether a retest follows later changes. Ask how the work is handed over, including documentation of the settings and where they live. Ask whether upgrades are covered separately, since branding should be rechecked after each server upgrade. DeployOpen plans most engagements as fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

Does branding survive Medplum upgrades?

Build-time variables are part of your build pipeline, so they persist only if your build keeps passing them, and they must be reapplied whenever the web app is rebuilt for a new version. Per-project settings such as appName, sign-in forms and SMTP configuration live in Medplum data, so they are not rebuilt, but you should still verify them after each upgrade. Confirm with the Medplum upgrading guide how your version path works, and keep branding values in version-controlled configuration so a rebuild cannot silently drop a logo or name. Test a staging environment before each production upgrade.

Does changing Medplum branding affect our compliance evidence?

Branding itself does not change the controls behind your compliance program, but it changes what auditors see. Sign-in pages, MFA prompts, invitation emails and password reset messages are user-facing security steps, so changes to them should go through your change control and be recorded. Medplum's compliance documentation states that compliance is a shared responsibility between Medplum and its customers, so you will need to show who approved each brand, sender and sign-in form and when it was tested. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Your auditor or certification body makes that determination.

Which email and sign-in risks should we test before launching a branded tenant?

Test that each tenant's invitation, password reset and MFA code emails come from the intended sender domain and show the correct app name, because a mismatch can confuse users or look like phishing. Check that each sign-in form loads only for its own client application and that users cannot reach another tenant's form. Confirm that SMTP credentials are stored as secrets and not in configuration files that get committed. Also check that the links in emails point to the correct base URL for each brand. A short written test plan with pass or fail results for each brand is useful evidence for your security and compliance teams.

How the branding layers fit together

Branding in self-hosted Medplum is split across layers that do not share one setting. Build-time variables such as MEDPLUM_APP_NAME and MEDPLUM_LOGO_URL shape the web app for everyone who uses your build. Per-project settings, including the appName project setting and the ClientApplication.signInForm, shape what each tenant or client sees. Email is a separate path: project SMTP and custom emails leave your domain through your mail provider, so check the sender domain, authentication records and the content each recipient receives before you go live.

Build-time, per-project and email branding layers and where each one is applied.

How DeployOpen scopes and delivers branding on self-hosted Medplum

DeployOpen scopes branding as a written set of layers: the build-time app identity, per-project names and sign-in forms, project email senders and custom emails. Each layer is configured, tested and documented in your own infrastructure so your compliance and security teams can review what users see.

How we scope

  • Inventory every surface a user or client sees, from the app shell and sign-in forms to MFA and invite emails.
  • Map each surface to its setting, whether the build-time app name and logo, the project app name, client sign-in forms or project SMTP.
  • Agree the written scope, deliverables and timeline before work starts, with fixed scope as the default engagement model.
  • Confirm which tenants need separate branding and which share one identity, since this changes the number of configurations to maintain.

How we build

  • Set the build-time logo and app name for your self-hosted web app and document the build step that applies them.
  • Configure per-project app names and client sign-in forms so each tenant sees its own branding in the sign-in flow.
  • Set up project SMTP senders from your own domain, with sender records and DNS checks confirmed before go-live.
  • Write custom email templates for invites, password resets and MFA codes, and test each one in every tenant configuration.

How we hand over

  • Deliver a configuration record listing each branding setting, its location, owner and the environment it applies to.
  • Provide test evidence showing every tenant's sign-in page, emails and sender addresses as they render in your environment.
  • Document the steps to add a new tenant brand, change a logo and rotate sender credentials without a full rebuild.
  • Walk your platform and support teams through the runbook so they can make routine changes after the engagement ends.

How we support

  • Offer ongoing support as a retainer for brand changes, new tenants, template updates and sender maintenance.
  • Retest branding after each Medplum upgrade, since build-time and project settings may change with new releases.
  • Review sender reputation, bounce handling and template wording when your products or legal text change.
  • Scope any follow-on work, such as a security review of sign-in forms, as a separate written engagement.

Sources and further reading

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.