Developer portals: the platform's front door
A portal makes things findable; it cannot make them true. Find out whether your engineers fail to find answers or find wrong ones, derive owner data instead of typing it, and build the thinnest front door that removes a real step
Six months after a portal launch, an incident page goes to a team that stopped owning the service in the spring. The catalogue entry still names that team. What is the most likely cause?
The question of who your users are, what a golden path contains and how to read adoption numbers belongs to platform as a product. This chapter owns the surface where engineers meet the platform: the portal, the catalogue behind it, the templates it offers and the documentation it points to. At Lead level, as a Platform Lead or Staff SRE, you are usually asked one question about it: should we build one? The honest answer depends on a distinction most proposals skip, and the rest of the chapter is built around it.
The model: a window, not a warehouse
A developer portal is a web front end over what a platform provides. It does three jobs. It answers what exists and who owns it, which is the catalogue. It answers make me a new one, the right way, which is templates. And it answers how do I use or run this, which is documentation and, where you build them, self-service actions.
The idea that matters is that a portal displays data; it does not hold the truth. The truth about ownership lives in the organisation directory and the paging tool. The truth about what runs lives in the repositories, the pipelines and the cloud accounts. The truth about how a service behaves lives in its code and its runbook. A portal that stores its own copy of any of these has become a second wiki with nicer navigation, and it will drift exactly as the first one did.
So there are two different problems, and you must know which one you have. Findability: a correct answer exists, but it takes an engineer twenty minutes and three messages to reach. Accuracy: the answer they reach is out of date or contradicts another one. A portal is a strong remedy for the first. It does nothing for the second, and it makes the second worse in one way: a wrong answer in a polished portal looks authoritative. Most organisations that ask for a portal have both problems, and the accuracy problem comes first.
Backstage is the open-source reference for this kind of portal. Its own documentation describes it as an open-source framework for building developer portals, created at Spotify and now hosted by the CNCF, with a software catalogue, software templates and documentation as its core pieces. You do not need to run it to use its vocabulary, which most portals copy: components with an owner and a lifecycle, grouped into systems.
What goes in the catalogue
A catalogue entry answers the questions an engineer asks at the worst moment. Keep it small, and for each field say where the value comes from.
| Field | The question it answers | Where it should come from |
|---|---|---|
| Name, type | What is this: a service, a job, a library, an API, a report? | The entry file, typed once |
| Owner | Who is answerable for it? | A group in the organisation directory, checked against the paging rota |
| Lifecycle | Is it experimental, in production or being retired? | The entry file, reviewed with the code |
| Tier | How bad is an outage? | The readiness review or the DR plan, using one numbering |
| Depends on, used by | What breaks when this breaks? | The entry file, cross-checked against gateway or tracing data where you have it |
| Run links | Where are the runbook, dashboard, SLO and paging route? | Generated from a naming convention, not typed |
| Docs | Where do I read about it? | A docs folder in the repository |
In Backstage’s descriptor format, which is a YAML file usually named catalog-info.yaml that sits in the component’s repository, owner and lifecycle are both required fields. The documentation defines the owner as a single entity, often a team, that is ultimately responsible for the component, and says there is always one ultimate owner. It also says the catalogue accepts any lifecycle value, so you must agree your own taxonomy. Both points are worth copying whatever tool you use: one owner, not a committee, and a short list of lifecycle values that mean the same thing to every team.
The owner is the field that earns the portal its place. It is what an on-call engineer needs at 05:30, and it is what a production readiness review is really checking when it asks who is paged. If the entry holds a correct owner and a rota link, the readiness question becomes a lookup, and the incident first ten minutes shrink with it.
Keeping the catalogue true
Catalogues start accurate, because someone has recently filled them in. Whether they stay so depends on five mechanisms. A platform team that builds only the display and none of these has built the second wiki.
- The entry lives in the repository. It changes in the same pull request as the code, by the people who know. A central register edited by the platform team is consistent but stale, and it makes you the bottleneck for every change.
- A check runs in CI. The entry file exists, the owner resolves to a group in the directory that has members, every link returns a page, and the lifecycle is one of the agreed values. A failing check is a failing build, which is the only reminder engineers reliably read.
- Derive rather than type. Take the people in a team from the directory and today’s on-call from the paging tool. Show them on the entry, and let nobody edit them there. The less a human types, the less can rot.
- Discover the unregistered. Once a week, compare the cloud account inventory and the repository list against the catalogue. Everything that runs and is not in the catalogue is an orphan, and the count is a number you report. Services that nobody registered are often the ones nobody owns.
- Expire. An entry nobody has confirmed in a set period, 180 days as a rule of thumb, gets flagged to its owner, then to the owner’s manager, then marked as unverified on the page in plain sight. A visible “unverified” label is more honest than a confident wrong answer.
The same discipline applies to the people side. When a team is merged or a person leaves, the owner group should be updated by the same process that updates the directory, and a group with no members or no rota should raise a ticket automatically. That is a small piece of work with a large effect, and it is cheaper than any plugin.
Templates: the path as software
Platform as a product describes what a golden path contains and what supporting one costs. This chapter adds one point: the template that creates a service is software with consumers, and it needs the same care as anything else you ship.
A template that scaffolds a repository, a pipeline, dashboards and a runbook stub is the best catalogue-maintenance tool you own, because it can create the entry file at the same moment as the service, with the owner already filled in from whoever ran it. A service created that way is born registered. Backstage’s software templates are the reference for this; the writing-templates documentation shows the shape, and the idea works without Backstage if your pipeline can create a repository from a skeleton.
Three things go wrong with templates. They age: the template moves on and every service created from it is a snapshot of an older version. Record the template version in the entry, open upgrade pull requests against services that are behind, and measure how many are more than two versions old, as the infrastructure as code chapter measures module drift. They break silently: nobody notices the template is broken until a team tries to use it on a deadline. Create a service from it in a sandbox every month, deploy it, and fail loudly if anything does not work. And they multiply: every team wants a variant. Hold the line on a few templates for the common workloads and let the rest use the escape hatches the path allows.
Docs: fix them where they live
Documentation usually fails in four ways. A page has no owner. A page has no date, so a reader cannot tell a current instruction from a 2019 one. Search returns three versions of the same page. And one page mixes a tutorial, a recipe, a reference table and an opinion, so it serves nobody well.
The last is the one most teams have not named. The Diátaxis framework, by Daniele Procida, separates documentation into four kinds: tutorials, which are lessons for someone learning; how-to guides, which help someone with a specific task; reference, which is neutral description to consult; and explanation, which gives background and the reasons. Its practical advice is to keep each document within one kind and link between them. You do not need to adopt the whole framework to use the sorting question: what is this reader trying to do?
Repairs that last are structural. Give every page an owner and a review date. Put docs in the repository next to the code, so a change to the service and a change to its docs are one pull request; Backstage’s TechDocs is built on that docs-like-code idea, and a static site generated from the repository gives you most of it with any tool. Generate reference material from the code or the API specification instead of writing it. Link the runbook from the alert itself, not from a wiki page. And delete pages that nobody owns, because a missing page costs a search, and a wrong page costs an incident.
Note what this makes possible. Matthew Skelton and Manuel Pais, who coined “thinnest viable platform” in Team Topologies, say that such a platform can be as small as a wiki page. Fixing the docs is therefore a legitimate platform move, not a consolation prize for teams that could not afford a portal.
The five-question test
Before you propose anything, run a cheap test. Choose three engineers from different teams, ideally people who are new to the system in question, and give each the same five questions. Who owns this service? How do I deploy that one? Where is the runbook for this job? What does this depend on? How do I create a new service? Time each answer and record where they looked.
Read the results by failure type. If engineers find the right answer slowly, that is findability, and a portal or a better search will pay. If they find confident answers that disagree, or an owner who left, that is accuracy, and the work is in the sources: the directory, the rota, the repository and the docs. Run the test again after any change. It is also the baseline for the adoption numbers described in platform as a product, because “time to answer who owns this” is a measure users can feel.
What Northmere starts from
Northmere Bank has 4,800 staff, 9.2 million retail customers and about 38,000 corporate clients, and its in-house platform team serves engineers across payments operations, digital channels, the USSD channel, the core ledger, fraud tooling and the consent service for open banking. Its oldest critical system, salary disbursement, dates from 2014. A bank of that age and size has several places that claim to know what runs: a wiki, a configuration management database, cloud tags, the paging tool and people’s memories. The first job is not a portal. It is to decide which source is authoritative for each field, write that down, and make the others follow it. A portal comes after that and shows what the sources already agree on.
Build, adopt or buy
Once the sources are sound, there are three ways to put a front door on them.
Assemble it on an open framework. Backstage is the reference. You get control and a large ecosystem of plugins, and you take on a product: someone must assemble it, keep it upgraded, write and maintain the integrations to your own directory, pipelines and paging tool, and run it with its own on-call. It suits an organisation with enough teams to repay a dedicated portal team and an internal platform group able to staff one.
Use a hosted product. There is less to run and a faster start. You are limited to the integrations the product offers, you adopt its model of what a service is, and for a bank there is a question to put to security and compliance early: whether metadata about production systems may sit outside your own environment. Ask before you evaluate, not after.
Start with files. Entries as files in the repositories, checks in CI, a docs site generated from the repositories and a script that builds an index page. This is the thinnest route, and it works up to the point where you want search across everything, ownership graphs and self-service actions. It is also the best preparation for either of the other two, because you will have done the hard part, which is making the data true.
The common mistake is to treat the choice as the project. Whichever route you take, the effort that decides success is the data pipeline behind it: the checks, the derivations and the expiry rule. Evaluate each route on how well it consumes those, not on its demo.
Measuring a portal
The adoption layers in platform as a product, breadth, depth and retention, apply to a portal’s users. A portal also needs measures of its own data, because a portal’s quality is its accuracy.
| Measure | What it tells you | How it misleads |
|---|---|---|
| Ownership coverage: running services with an owner group that has members and a rota | Whether the page can be answered at all | Auto-generated placeholder entries inflate it |
| Freshness: entries verified in the last 180 days | Whether the data is current | Rubber-stamp verification without a check |
| Unregistered: things that run but are not catalogued | Where the catalogue is blind | Needs an inventory to compare against |
| Minutes from page to the right team, from postmortems | The outcome you actually wanted | Small numbers; read the slow cases |
| Share of new services created from a template | Whether the path is the easy way | Counts a template used and then abandoned |
| Searches followed by a click | Whether engineers find what they look for | Falls when people give up on search |
Report the first three to the head of platform every quarter. They are cheap, they cannot be argued with, and a rising orphan count is the clearest argument for the checks.
Where practitioners disagree
Entry in the repository or in a central register. The repository camp argues that truth sits next to the code and can be checked by CI. The central camp points out that hundreds of small YAML files drift in format and that a platform team can enforce consistency in one place. The common answer is entries in the repositories, with the platform team owning the schema and the checks.
The portal as the platform, or one interface among several. Some teams treat the portal as the way engineers meet the platform. Others hold that a command-line tool, an API and chat commands serve many engineers better, and the portal is the view for browsing and discovery. The test from platform as a product applies: build the interface that removes a real step from someone’s week.
Catalogue first or templates first. Templates create entries for new services, so a template-first start yields a catalogue that is complete for new work and empty for old. A catalogue first needs backfilling by hand but covers what is running. Most teams do the catalogue for the services that matter most, tier 1 first, and start templates alongside.
Build or buy. The honest disagreement is about what the platform team can carry. A portal is another product, and the discipline of the thinnest viable platform asks you to be sure you can run it before you add it.
Day to day
The portal’s work is mostly data hygiene and listening, with some engineering on top.
Daily. Glance at the failed-check report: entries whose owner group has gone empty, links that have died. Answer questions in the support channel and tag each one as findability or accuracy.
Weekly. Run the unregistered-services comparison and send each new orphan to a likely owner. Review the template sandbox run. Triage requests for new fields or integrations against the question: does this field have a source that keeps it true?
Monthly. Run the five-question test with someone who recently joined and write up where they looked. Read the postmortems for the minutes from page to the right team, and for any case where the entry misled responders. Look at which entries have lapsed past the expiry date and chase the managers.
Quarterly. Report ownership coverage, freshness and orphans to the head of platform. Review the roadmap with the consuming tech leads. Check template versions in use against the latest. Ask whether a field or a plugin should go because nobody uses it.
Yearly. Re-test the build, adopt or buy choice against the current team size and the platform team’s capacity. Revisit which source is authoritative for each field, because a directory migration can silently break every owner.
The people you meet most are the tech leads of consuming teams, the owners of the directory and the paging tool, the security owner who cares about the metadata, and the incident commanders who tell you whether the page-to-owner time is falling.
There is no portal and there should not be one. A README in every repository, a line naming who to call, and a single page listing the services and their owners is the thinnest viable platform, and it is enough while one person can hold the whole map in their head. The risk is a founding engineer building a portal for ten services. Spend the time on the one rule that scales: every service has a named owner and a link to its runbook, in the repository, from the first day.
Engineers stop knowing everyone’s services, and the question who owns this appears in incidents. This is the moment for a catalogue as files in the repositories, a check in CI and one template for the commonest workload. Choose the portal later, once the data is sound; a hosted product or a small assembled one both work. Protect the platform team’s time: a portal is a product, and at this size the team that runs it is also the team on support.
Several catalogues already exist: a configuration management database, a wiki, cloud tags, a service registry for one business unit. The work is reconciliation and politics, not display: which source is authoritative for owner, who is allowed to change it, and who funds the portal team. Expect a portal to become the place where disagreements between sources become visible, which is useful and uncomfortable. Ownership data needs a governance owner, and the portal needs a dedicated team with its own roadmap and a support rota.
Template
# Catalogue entry: <service name>
Entry file: <path in the repository> · Last verified: <date> by <name> · Re-verify every: <days>
## Identity (typed)
Name · Type (service, job, library, API, report) · Lifecycle (agreed values) · Tier (DR plan numbering)
## Ownership (derived)
Owner group: <name in the directory> · Members: <count from directory> · On-call rota: <link, from the paging tool>
Escalation group: <name>
## Depends on and used by (typed, cross-checked)
| Depends on | Used by | What breaks, and how soon |
|---|---|---|
## Run (generated from convention)
Runbook · Dashboard · SLO · Paging route · Last readiness review
## Docs (one home each)
Tutorial · How-to · Reference · Explanation
## Checks that run on every change
- Owner resolves to a group with members and a rota
- Every link returns a page
- Lifecycle is one of the agreed values
- Entry verified within <days>; otherwise shown as unverified
# Golden-path template: <name>
Workload it serves · Owner · Version (recorded in each entry) · Date of last change
Creates: repository, pipeline, dashboards, runbook stub, and an entry file with the owner prefilled
Upgrade route: <pull requests against services behind, and how many versions behind is too many>
Test: <monthly sandbox run: create, deploy, check, who is told on failure>
Support: <channel, response target> · Leaving the path: <what the team keeps and loses> WORKED EXAMPLE
Northmere Bank has 4,800 staff, about 38,000 corporate clients and an in-house platform team. Owanate, its Platform Lead, wrote this for the salary-disbursement system after the morning described at the top of the chapter. Before writing it she sampled ten wiki pages and links about the system: four named an owner who had changed team and three runbook links were dead (illustrative figures).
The entry. Name: salary-disbursement. Type: service. Lifecycle: production. Tier: 1 in the DR plan’s numbering, since it is a payroll run. Built in 2014, in-house. Used by about 38,000 corporate clients. Depends on the core ledger and the outward transfer gateway; if the ledger is slow, salary files queue within minutes. Owner: the Salary Disbursement group in the directory, derived, with a link to its rota in the paging tool. Escalation: the platform on-call, with Tamunosiki, Head of Platform, as the last contact. Runbook, dashboard and SLO links are generated from the service name. Re-verify every 180 days; the next date is on the page.
The checks. CI fails if the owner group has no members, if the rota is empty for any day in the next 14 days, or if any link returns an error. A weekly job lists running services missing from the catalogue.
The template. “Internal batch job”, version 1.0. It creates a repository, a pipeline, a dashboard and a runbook stub, and an entry file whose owner is the group of whoever ran it. A monthly sandbox run creates and deploys a job; Owanate’s team is paged if it fails. Services more than two versions behind receive an upgrade pull request. A team that leaves the path keeps its entry and the ownership checks and loses pipeline support.
Now you
You are the Platform Lead at Northmere Bank, which has 4,800 staff and an in-house platform team. Tamunosiki, the Head of Platform, has asked for a catalogue entry and a golden-path template for the internal tools that payments operations depend on every morning, starting with the suspense report and the daily fee check. One engineer on the payments operations team wrote both and is the only person who understands them; she moves to the fraud tooling team in six weeks. The wiki names a team that no longer exists as owner. The code runs on a server whose rota nobody has ever written down. Security has asked whether metadata about production systems may be held outside the bank. Tamunosiki wants a draft within the month and a recommendation on a portal at the end of the quarter. Write the entry for one of the two tools, the template for tools of this kind, and the checks that will keep them true after she has gone.
Self-check
You lead the in-house platform team at Northmere Bank, which has 4,800 staff. Tamunosiki, the Head of Platform, wants approval this quarter to build a developer portal with a service catalogue, because in the last incident on the salary-disbursement system, built in 2014, nobody could say quickly which team owned a downstream job. You sampled the existing wiki pages: owners named there are often people or teams that have since moved, and runbooks sit in three places. Owanate, the Platform Lead who knows the system best, warns that a portal on that data would make the wrong answers easier to find. What do you recommend?
- DOC What is Backstage? Backstage project
The open-source reference for developer portals, described by its own authors: the catalogue, templates and docs-like-code pieces. Read it to learn the vocabulary before you decide whether to run it.
- DOC Descriptor Format of Catalog Entities Backstage project
The entry file in detail: owner and lifecycle as required fields, one ultimate owner, and the advice to define your own lifecycle values. A model for your own entry schema.
- DOC Writing Templates Backstage project
How a scaffolding template is specified and what it can create. Read it for the shape of a template even if you never run the tool.
- DOC Creating and publishing your docs Backstage project
The docs-like-code workflow: documentation lives in the repository and is built into a site. The idea works with any static site generator.
- DOC CNCF Platforms White Paper CNCF TAG App Delivery, 2023
The common vocabulary for platforms and their attributes, including how a platform presents itself to its users. Use it when you explain the portal to people who fund it.
- DOC Diátaxis Daniele Procida
A framework that sorts documentation into tutorials, how-to guides, reference and explanation. The quickest way to see why one page cannot do all four jobs.
- DOC Core team types in Team Topologies Matthew Skelton and Manuel Pais
The authors' own summary of the four team types, including platform teams that provide services to the teams they support. Read it with their thinnest viable platform idea, the argument for starting with a page, not a portal.
- DOC The Spotify Story Backstage project
Backstage's own account of where it came from. Read it as one company's answer to its own scale, not as a template for yours.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.