
As engineering teams grow, managing services, documentation, deployment pipelines, and infrastructure becomes increasingly complicated. Developers often need to switch between multiple tools just to find a service owner, understand an API, check deployment status, or create a new project.
An Internal Developer Portal (IDP) solves this problem by bringing essential development resources into one centralized interface.
Instead of navigating disconnected tools, developers can discover services, access documentation, follow standardized templates, and find links to operational resources from a single place.
In this guide, we'll explore how to build an internal developer portal using open-source tooling, with Backstage as the foundation. We'll cover architecture, service catalogs, documentation, software templates, CI/CD integration, security, and deployment considerations.
1. What Is an Internal Developer Portal?
An Internal Developer Portal is a centralized interface that helps developers interact with their organization's software ecosystem.
It provides a consistent experience for common engineering tasks, such as:
Discovering microservices and APIs.
Finding the team responsible for a service.
Accessing technical documentation.
Creating new projects from approved templates.
Finding CI/CD pipelines and deployment resources.
Understanding relationships between services.
Accessing monitoring and operational dashboards.
For example, imagine a company with 30 backend services, several frontend applications, multiple databases, and different deployment pipelines.
Without a central portal, developers might need to search Git repositories, documentation websites, deployment dashboards, and team chat channels to find the information they need.
An internal developer portal brings these resources together.
The goal is not to replace every engineering tool. It's to make existing tools easier to discover and use.
2. Why Build a Developer Portal?
As an organization grows, engineering complexity often grows faster than its documentation and processes.
A developer joining a new team may need answers to questions such as:
Which repository contains the payment service?
Who owns the authentication API?
How do I run the application locally?
Where are the deployment instructions?
Which environment is used for testing?
How do I create another service following company standards?
When these answers are scattered across multiple systems, developers spend time searching instead of building software.
A developer portal can address these problems by providing:
Centralized service discovery: Find applications, APIs, libraries, and infrastructure resources in one catalog.
Standardized project creation: Generate new services with approved configurations and development conventions.
Documentation close to the code: Keep technical instructions version-controlled alongside application source code.
Better operational visibility: Link services to their repositories, deployment pipelines, monitoring systems, and dashboards.
Consistent developer workflows: Provide reusable workflows that reduce repetitive setup and configuration work.
The actual productivity improvement depends on adoption, data quality, integrations, and the workflows the portal supports.
3. Choose the Right Open-Source Tools
You don't need to build a developer portal from scratch. Several open-source projects can provide the foundation.
Backstage: The Developer Portal Foundation
Backstage is an open-source framework originally created at Spotify and now hosted by the Cloud Native Computing Foundation.
It provides a plugin-based architecture for bringing software catalogs, documentation, project templates, and integrations into a unified developer experience.
Explore the official documentation: Backstage Documentation
Supporting Tools
Tool | Purpose | Example Use |
|---|---|---|
Backstage | Developer portal | Central service catalog and project templates |
Kubernetes | Container orchestration | Deploy and manage applications |
Docker | Containerization | Package services consistently |
Prometheus | Metrics monitoring | Collect application and infrastructure metrics |
Grafana | Visualization and dashboards | Display service health and performance |
Argo CD | Kubernetes delivery | Track and manage GitOps deployments |
MkDocs | Documentation generation | Build technical documentation from Markdown |
These tools have different responsibilities. You don't need all of them on day one.
For a small engineering team, start with Backstage, a Git repository provider, and a documentation workflow. Add monitoring, deployment integrations, and Kubernetes visibility when they solve a real problem.
4. Understand the Architecture
A practical developer portal sits above your existing engineering infrastructure.
A typical architecture looks like this:
Developers
|
v
Internal Developer Portal
Backstage
|
+----------------+----------------+
| | |
v v v
Software Catalog TechDocs Software Templates
| | |
v v v
Service Metadata Markdown Docs Project Generator
| | |
+----------------+----------------+
|
v
Engineering Tools
|
+----------------+----------------+
| | |
v v v
Git Repositories CI/CD Pipelines Infrastructure
| | |
v v v
Source Code Build/Deploy Cloud/KubernetesBackstage acts as the user-facing integration layer. Its catalog stores metadata about software entities, while plugins connect the portal to other tools.
The portal doesn't need to own every piece of data or execute every operational task itself.
For example, a deployment integration might link developers to an existing CI/CD pipeline rather than implementing a new deployment system.
This approach avoids duplicating infrastructure and lets teams continue using their existing workflows.
5. Set Up Backstage Locally
Let's create a basic Backstage application.
Prerequisites
Install the supported Node.js version and the package manager required by the Backstage release you select.
Check your environment:
node --version
npm --version
git --versionCheck the current Backstage installation instructions before choosing specific runtime versions, because requirements can change between releases.
Create the Application
Follow the official getting-started instructions: Backstage Getting Started
The standard scaffolding workflow uses the Backstage application creator. For releases that support this command, you can start with:
npx @backstage/create-app@latestFollow the prompts to choose an application name.
Move into the generated directory:
cd my-portalStart the development environment using the scripts generated by the scaffold:
yarn devThe exact commands and package-manager requirements may vary by Backstage release. Follow the instructions generated by your installed version.
Once the application starts, open the local address printed in the terminal.
You now have a starting point for building your developer portal.
Important: A local development instance is not production-ready. Before exposing it to a team, configure authentication, permissions, a production database, secrets, network restrictions, and deployment settings.
6. Build a Software Catalog
A software catalog is one of the most important parts of an internal developer portal.
It provides a structured view of the services, APIs, libraries, and resources used across an organization.
For each service, developers should be able to discover information such as:
Service name and description.
Owning team.
Repository location.
Lifecycle stage.
Documentation.
API definitions.
Links to monitoring and deployment resources.
Backstage supports catalog metadata through YAML files that can live alongside application source code.
Create a Catalog Metadata File
Imagine you have a Node.js service called payment-service.
Create a file named catalog-info.yaml in the repository root:
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: payment-service
description: Handles payment processing for the application
tags:
- nodejs
- backend
- payments
links:
- url: https://example.com/monitoring
title: Monitoring Dashboard
icon: dashboard
spec:
type: service
lifecycle: production
owner: payments-team
system: ecommerce-platformReplace the example monitoring URL and entity references with values that exist in your organization.
This metadata describes the service and its ownership.
The owner field should refer to an organization entity recognized by your catalog. Likewise, the referenced system should exist if you want the relationship to resolve correctly.
Understanding the Metadata
Field | Purpose |
|---|---|
| Unique entity identifier |
| Explains the service's responsibility |
| Supports discovery and categorization |
| Identifies the kind of component |
| Indicates its development stage |
| Identifies the responsible team |
| Connects the service to a larger system |
This structure makes it easier for developers to find services and understand who maintains them.
Register the Component
Register the metadata file using the catalog registration workflow in your Backstage instance.
Depending on your setup, you can register a repository location manually or configure supported integrations to discover catalog files automatically.
After the entity is processed, search the catalog for payment-service and verify that its owner, description, and links appear correctly.
For a larger organization, automate catalog ingestion and validation rather than relying entirely on manual registration.
7. Add Technical Documentation with TechDocs
A service catalog tells developers what a service is. Documentation explains how to work with it.
Backstage TechDocs supports a documentation-as-code approach in which Markdown documentation is maintained alongside source code.
For example, a service repository can use this structure:
payment-service/
├── src/
├── tests/
├── docs/
│ ├── index.md
│ ├── local-development.md
│ ├── architecture.md
│ └── deployment.md
├── mkdocs.yml
├── catalog-info.yaml
├── package.json
└── README.mdCreate the Documentation
Add a docs/index.md file:
# Payment Service
The Payment Service handles payment processing
for the e-commerce platform.
## Responsibilities
- Process payment requests
- Track payment status
- Integrate with payment providers
- Publish payment-related events
## Local Development
Install the project dependencies:
```bash
npm installStart the development server:
npm run devDocumentation
Create a `mkdocs.yml` file:
```yaml
site_name: Payment Service
nav:
- Overview: index.md
- Local Development: local-development.md
- Architecture: architecture.md
- Deployment: deployment.md
plugins:
- techdocs-coreThe techdocs-core plugin provides Backstage-specific documentation functionality.
Next, add a TechDocs annotation to the catalog entity:
metadata:
annotations:
backstage.io/techdocs-ref: dir:.Merge these files into the repository and configure TechDocs in your Backstage deployment.
For an initial local setup, TechDocs can generate and store documentation locally. Production environments should configure an appropriate documentation publisher and storage backend.
Refer to the official guide for configuration details: Backstage TechDocs Setup
Why Keep Documentation in Git?
Keeping documentation close to application code provides several benefits:
Developers can update documentation in the same pull request as code changes.
Documentation changes can be reviewed.
Previous versions can be recovered through Git history.
New services can start with standardized documentation templates.
Teams can automate documentation validation.
The most important part is establishing ownership. A documentation system becomes less useful when nobody is responsible for keeping the information accurate.
8. Create Standardized Service Templates
A developer portal becomes more valuable when it helps developers create new projects, not just discover existing ones.
Backstage Software Templates, also called Scaffolder templates, can generate projects using predefined workflows. These workflows can collect user input, fetch template files, publish repositories, and execute configured actions.
For example, your organization might require every new Node.js service to include:
TypeScript configuration.
Express or NestJS application structure.
Environment-variable validation.
Unit testing.
Docker configuration.
CI pipeline.
Logging and error handling.
Health-check endpoints.
Catalog metadata.
Basic technical documentation.
Instead of asking every developer to create these files manually, provide a reusable template.
Example Project Structure
A generated Node.js service might look like this:
new-service/
├── src/
│ ├── config/
│ ├── middleware/
│ ├── routes/
│ ├── services/
│ └── app.ts
├── tests/
├── docs/
├── Dockerfile
├── .github/
│ └── workflows/
│ └── ci.yml
├── catalog-info.yaml
├── mkdocs.yml
├── package.json
└── tsconfig.jsonThis structure is illustrative. Adapt it to your team's architectural standards.
Define a Basic Template
A Backstage template is described by a template.yaml file.
For example, the beginning of a template could look like this:
apiVersion: scaffolder.backstage.io/v1beta3
kind: Template
metadata:
name: nodejs-service-template
title: Node.js Service
description: Create a standardized Node.js service
spec:
owner: platform-team
type: service
parameters:
- title: Service Details
required:
- name
- description
properties:
name:
title: Service Name
type: string
pattern: "^[a-z0-9]+(-[a-z0-9]+)*$"
description:
title: Service Description
type: string
steps: []This is a template skeleton, not a complete executable workflow. The empty steps array must be populated with supported actions to generate and publish a project.
A complete template typically defines steps to:
Fetch a repository skeleton.
Substitute the user-provided values.
Publish the generated files to a supported source-control provider.
Register the resulting component in the catalog, if the necessary action is configured.
The available actions and their configuration depend on the installed Backstage modules and integrations.
Benefits of Templates
Templates reduce repetitive work and encourage consistency.
They can also make secure defaults easier to adopt. For example, a standard template can include dependency scanning, a basic CI pipeline, and a health endpoint from the beginning.
However, templates should be maintained like production code. Outdated templates can spread insecure dependencies or obsolete conventions across many repositories.
9. Integrate CI/CD Pipelines
A useful developer portal should connect developers to the tools they already use to build and deploy applications.
Common integrations include:
GitHub Actions.
GitLab CI/CD.
Jenkins.
Argo CD.
Kubernetes.
Container registries.
Monitoring dashboards.
The specific integrations available depend on the installed plugins, their compatibility, and your environment.
Example CI Pipeline
Consider a Node.js project that uses GitHub Actions.
A basic workflow might run tests and build the project whenever a pull request is opened.
Create .github/workflows/ci.yml:
name: Node.js CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build application
run: npm run buildThis example assumes the project defines the relevant npm scripts and uses a compatible Node.js version. Pin third-party actions to verified versions or commit SHAs according to your organization's supply-chain security policy.
The portal can provide a link to the pipeline, display supported build information through an integration, or initiate approved workflows where configured.
Keep deployment permissions separate from catalog visibility. A developer being able to view a service in Backstage should not automatically grant permission to deploy it.
10. Add Kubernetes and Monitoring Visibility
For teams running microservices, developers often need to understand service health and find operational dashboards.
An internal portal can bring this information closer to the service catalog.
For example, a service page might include:
Source repository.
Documentation.
CI pipeline.
Deployment status.
Kubernetes workload information.
Monitoring dashboards.
Logs and tracing links.
On-call or ownership information.
Backstage has a plugin architecture that allows organizations to add integrations for infrastructure and development tools.
Example Service Page
Imagine the payment-service page includes the following links:
Payment Service
│
├── Overview
├── Documentation
├── Source Repository
├── CI/CD Pipeline
├── Kubernetes Workloads
├── Metrics Dashboard
├── Logs
└── API DocumentationThese links help developers move from service discovery to the appropriate operational tool without searching through bookmarks or chat history.
For monitoring, a common setup is to use Prometheus for metrics collection and Grafana for dashboards.
The portal does not need to replace those tools. It can provide contextual links and, where supported, embed or display relevant information.
For production environments, ensure that the integration respects the user's authorization and does not expose sensitive logs, metrics, or infrastructure details to unauthorized users.
11. Secure the Developer Portal
An internal portal can expose valuable information about an organization's systems, so security should be part of the initial design.
Configure Authentication
Integrate your identity provider using a supported authentication method.
Depending on your organization, this may involve an enterprise identity platform or an approved authentication provider.
Require authenticated access for internal resources.
Apply Authorization
Authentication establishes who the user is. Authorization determines what that user can access or do.
For example:
Role | Example Permissions |
|---|---|
Developer | View permitted catalog entries and documentation |
Service Owner | Maintain metadata and manage approved service workflows |
Platform Engineer | Manage templates and platform integrations |
Administrator | Configure portal infrastructure and security |
These roles are illustrative. Design access policies around your organization's actual responsibilities and risk model.
Backstage supports permission-related functionality, but the authorization policy must be configured appropriately for your deployment.
Protect Secrets
Never place credentials, access tokens, private keys, or database passwords in catalog metadata or documentation.
Use an approved secrets manager or deployment secret mechanism.
Restrict Sensitive Integrations
A portal may connect to source repositories, Kubernetes clusters, and deployment pipelines. Use least-privilege service identities and restrict the operations each integration can perform.
Avoid giving the portal broad administrative access simply to make integrations easier.
Keep Dependencies Updated
Because Backstage is an extensible platform, plugins and backend modules introduce their own maintenance requirements.
Regularly update dependencies, review security advisories, and test upgrades before production deployment.
12. Deploy the Portal to Production
Once the portal works locally, prepare a production deployment.
A typical deployment architecture includes:
Developers
|
v
HTTPS Reverse Proxy / Ingress
|
v
Backstage Application
|
+----> Production Database
|
+----> Git Provider
|
+----> CI/CD Systems
|
+----> Kubernetes API
|
+----> Documentation StorageProduction Checklist
Before releasing the portal, verify the following.
Database
Configure a production database supported by your selected Backstage release.
Secure database credentials.
Establish backup and recovery procedures.
Monitor database health.
Application
Build and deploy a production application image.
Configure environment-specific settings.
Implement health checks and appropriate logging.
Use HTTPS for external access.
Authentication and authorization
Configure the approved identity provider.
Apply permissions to sensitive operations.
Verify access controls with representative user roles.
Integrations
Use narrowly scoped service credentials.
Test repository and CI/CD integrations.
Validate Kubernetes permissions where applicable.
Operations
Monitor application errors and availability.
Establish a dependency-update process.
Document recovery and upgrade procedures.
Test backups and restoration.
Follow the official production deployment documentation for your chosen Backstage release: Backstage Production Deployment
13. Measure Developer Portal Success
Launching a portal is only the beginning. The real goal is to make everyday engineering tasks easier and more reliable.
Track measurements that reflect actual developer workflows.
Useful Metrics
Time to first successful deployment: How long does it take a new developer or service to reach a successful deployment?
Service catalog coverage: What percentage of actively maintained services have valid catalog entries and owners?
Documentation coverage: How many services have current, useful documentation?
Template adoption: How frequently do teams use standardized project templates?
Self-service completion rate: How often do developers complete a workflow without needing manual platform-team assistance?
Developer satisfaction: Do engineers find the portal useful for discovering services and completing tasks?
Avoid measuring success solely by page views or the number of plugins installed.
A portal with dozens of integrations may still provide little value if the catalog is incomplete or the common workflows remain difficult.
Start by measuring a baseline, identify the most frustrating developer tasks, and then evaluate whether the portal improves them.
14. Common Mistakes to Avoid
Building Too Much Before Launching
Trying to integrate every engineering tool from day one can turn a simple portal project into a long platform initiative.
Better approach: Start with service discovery, ownership, documentation, and one valuable self-service workflow.
Treating the Portal as a Static Dashboard
A collection of links is useful, but it may not address repetitive engineering tasks.
Better approach: Add workflows that help developers create services, find operational information, or follow approved processes.
Ignoring Catalog Ownership
If nobody maintains service metadata, the catalog gradually becomes unreliable.
Better approach: Assign owners and make catalog metadata updates part of normal repository workflows.
Creating Too Many Custom Plugins
Custom plugins introduce maintenance, compatibility, and testing responsibilities.
Better approach: Prefer existing integrations when they meet your requirements, and create custom plugins only for genuine gaps.
Neglecting Security
A portal that links to infrastructure and deployment systems can become a sensitive entry point.
Better approach: Design authorization, credential management, and auditability into the platform from the beginning.
15. A Practical Implementation Roadmap
For a small or medium-sized engineering team, a phased approach can keep the project manageable.
Phase | Main Goal | Deliverable |
|---|---|---|
Phase 1 | Establish the foundation | Backstage instance with authentication |
Phase 2 | Improve discovery | Catalog entries for key services and owners |
Phase 3 | Improve documentation | TechDocs for important services |
Phase 4 | Standardize development | Templates for common service types |
Phase 5 | Connect engineering tools | CI/CD, monitoring, and infrastructure integrations |
Phase 6 | Improve operations | Monitoring, security reviews, and adoption metrics |
The schedule depends on team size, existing infrastructure, and integration complexity.
Start with the workflows that create the most friction for developers rather than attempting to implement the entire roadmap at once.
Conclusion
Building an internal developer portal with open-source tooling can make engineering resources easier to discover, improve consistency, and simplify common development workflows.
Backstage provides a flexible foundation through its software catalog, TechDocs, software templates, and plugin ecosystem. By connecting these capabilities to your existing repositories, CI/CD systems, infrastructure, and monitoring tools, you can create a unified developer experience without replacing every tool your team already uses.
The most effective approach is to begin with a small, useful portal and expand it based on developer feedback.
Start with service ownership and documentation, introduce reusable templates, integrate operational tools, and measure whether developers can complete important tasks more easily.
A successful developer portal is not defined by how many integrations it contains. It is defined by how effectively it helps developers build, ship, and operate software.
Frequently Asked Questions
1. What is an internal developer portal?
An internal developer portal is a centralized interface that helps developers discover services, access documentation, create projects, and interact with engineering tools.
2. Is Backstage free to use?
Backstage is an open-source framework. Organizations can use and customize it, but they still need to account for infrastructure, engineering time, maintenance, and any separately licensed tools or services they choose to integrate.
3. What is the difference between an internal developer portal and an internal developer platform?
An internal developer portal is the user-facing interface through which developers discover and use platform capabilities. An internal developer platform includes the underlying infrastructure, automation, workflows, and services that enable those capabilities.
The portal is one component of the broader platform.
4. Can Backstage work with Node.js and Kubernetes?
Yes. Backstage can be extended through plugins and integrations to support Node.js development workflows, Kubernetes visibility, documentation, source-control systems, and CI/CD tooling. The specific features available depend on the installed integrations and configuration.
5. Do small engineering teams need a developer portal?
Not every team needs a full portal. Smaller teams may benefit from a lightweight service catalog and centralized documentation first. Backstage becomes more attractive when the organization has enough services, workflows, or teams to justify a dedicated developer experience.
6. How long does it take to build an internal developer portal?
A basic proof of concept can be created relatively quickly, but a production-ready portal requires additional work for authentication, authorization, catalog quality, integrations, monitoring, deployment, and ongoing maintenance. The timeline depends on the organization's requirements and existing infrastructure.
Technical author and software engineer at DevByte. Writing deep-dive tutorials on distributed systems, modern full-stack web architectures, and cloud deployments.


