Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How Developer Hub simplifies Backstage configuration

February 2, 2026
Joshua Canter
Related topics:
Developer productivityDeveloper toolsGitOps
Related products:
Red Hat Developer HubRed Hat OpenShift GitOpsRed Hat OpenShift

    In previous articles, we described the internal entities representing enterprise services in Red Hat Developer Hub and created a simple installation. Now we will explore the configuration and plug-ins provided by Developer Hub to help automate the import of Templates and the use of a GitHub organization for users and groups. 

    Configuring an upstream Backstage instance can be a daunting task. Red Hat Developer Hub provides many supported integrations to make your existing services easier to use. This article will explain how to enable the dynamic plug-ins provided by Developer Hub and demonstrate integration with GitHub for users, groups, and catalogs. You will learn how Red Hat Developer Hub simplifies the installation and configuration of Backstage allowing teams to focus on their organization rather than configuration.  

    Importing static catalogs

    The previous articles explained how Developer Hub uses the Backstage Software Catalog and its components, resources, and APIs to map out software. To ingest these resources, they need to exist somewhere accessible to Developer Hub, usually in a version control system. A premade repository provides a simple example of how to set up a template repository. The template.yaml file will act as a top-level artifact for Developer Hub to discover templates.  

    Template.yaml

    ---
    apiVersion: backstage.io/v1alpha1
    kind: Location
    metadata:
      name: rhdh-skillz
      description: A collection of Example Software Templates for Red Hat Developer Hub
    spec:
      type: url
      targets:
        - templates/quarkus-on-openshift/template.yaml
        - templates/argo-onboard/template.yaml

    The entity kind “Location” is known to Developer Hub and instructs it to load entities from target URLs. These targets can import nearly any entity in the Backstage Software Catalog, but this example shows the importing of two sample templates as a static catalog. 

    You must update the application configuration for Developer Hub to include this catalog location.  

    app-config.yaml

    kind: ConfigMap
    apiVersion: v1
    metadata:
     name: app-config-rhdh
     namespace: rhdh-operator
    data:
      app-config.yaml: |
        app:
          title: My Red Hat Developer Hub Instance
        auth:
          environment: development
          providers:
            guest:
              dangerouslyAllowOutsideDevelopment: true
        catalog:
          locations:
            - type: url
              target: https://github.com/rhdh-beginners-guide/rhdh-templates/blob/main/templates.yaml
              rules:
                - allow: [Template]

    After applying this new configuration, Developer Hub will restart. After a few minutes, the guest user will have access to new self-service catalogs. Press the + button at the top of the UI (Figure 1) to access the self-service screen.

    The Red Hat Developer Hub home screen shows a red arrow pointing to the self service shortcut.
    Figure 1: The self-service shortcut is available in the Developer Hub header.

    There should now be two catalog items imported from GitHub in the self-service menus (Figure 2). This GitHub location is public and does not require authentication, which you can configure with the appropriate plug-ins.  

    The Red Hat Developer Hub self-service screen shows two Templates listed imported from a GitHub integration.
    Figure 2: Two templates are available on the Self Service screen.

    Note that static import is only one way to import resources. Plug-ins also exist to discover entities from sources such as GitHub.

    Integrating with GitHub

    A previous article demonstrated how to integrate with GitHub using the Helm install method. Using the operator installation method is largely the same, with the application configuration in a ConfigMap instead of within the Helm release. Additionally, repository discovery will be enabled. 

    Note: Extra permissions in GitHub will be required over what is listed in the previous article if creating new repositories is desired. Refer to the Backstage GitHub documentation for details.

    Prerequisite:

    • Set up a GitHub organization and application with correct permissions for Developer Hub as described in the previous article.

    Create secrets in OpenShift for GitHub

    Next, we will create secrets for GitHub in Red Hat OpenShift. The sensitive values for integration with GitHub will be stored in a secret. This secret will be referenced in your Backstage manifest and the keys will be used in your Developer Hub application configuration file. 

    kind: Secret
    apiVersion: v1
    metadata:
     name: github-secrets
     namespace: rhdh-operator
    stringData:
     GITHUB_APP_APP_ID: <application id from github>
     GITHUB_APP_CLIENT_ID: <client id from github>
     GITHUB_APP_CLIENT_SECRET: <client secret from github>
     GITHUB_APP_PRIVATE_KEY: <private key from github>
     GITHUB_APP_WEBHOOK_SECRET: <webhook secret>
     GITHUB_APP_WEBHOOK_URL: <webhook url>
     GITHUB_ORG: <your org name>
    type: Opaque

    Install plug-ins for GitHub

    Now that the secret for GitHub has been created, we need to begin to use the secret and update the application configuration with the GitHub configurations.

    We must first enable the correct dynamic plug-ins in Developer Hub. This is done via another ConfigMap which is attached to the Backstage CR. This ConfigMap is a list of plug-ins and configurations and whether they should be enabled.  

    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: dynamic-plugins-rhdh
      namespace: rhdh-operator
    data:
      dynamic-plugins.yaml: |
        includes:
          - dynamic-plugins.default.yaml
        plugins:
         - package:  ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-dynamic
           disabled: false
         - package: ./dynamic-plugins/dist/backstage-plugin-catalog-backend-module-github-org-dynamic
           disabled: false
         - package: ./dynamic-plugins/dist/backstage-plugin-scaffolder-backend-module-github-dynamic
           disabled: false

    The Developer Hub application config must be updated with our new auth and integrations with GitHub. This allows Developer Hub to use GitHub as an authentication provider and pull users from the organization we listed in the related secret. 

    Also note the variables (“${GITHUB_ORG}”) in the ConfigMap. These environment variables will be pulled into Developer Hub from the secrets we created previously and accessible in the application configuration.

    kind: ConfigMap
    apiVersion: v1
    metadata:
      name: app-config-rhdh
      namespace: rhdh-operator
    data:
      app-config.yaml: |
        app:
          title: My Red Hat Developer Hub Instance
        catalog:
          providers:
            githubOrg:
              id: production
              githubUrl: "https://github.com"
              orgs: [ "${GITHUB_ORG}" ]
    
              schedule:
    
                initialDelay: { minutes: 2 }
    
                frequency: { hours: 1 }
    
                timeout: { minutes: 50 }
    
          locations:
    
            - type: url
    
              target: https://github.com/rhdh-beginners-guide/rhdh-templates/blob/main/templates.yaml
    
              rules:
    
                - allow: [Template]
        integrations:
          github:
            - host: github.com
              apps:
                - appId: ${GITHUB_APP_APP_ID}
                  clientId: ${GITHUB_APP_CLIENT_ID}
                  clientSecret: ${GITHUB_APP_CLIENT_SECRET}
                  webhookUrl: ${GITHUB_APP_WEBHOOK_URL}
                  webhookSecret: ${GITHUB_APP_WEBHOOK_SECRET}
                  privateKey: |
                    ${GITHUB_APP_PRIVATE_KEY}
        auth:
          environment: production
          providers:
            github:
              production:
                clientId: ${GITHUB_APP_CLIENT_ID}
                clientSecret: ${GITHUB_APP_CLIENT_SECRET}
        signInPage: github

    Add the secret to Backstage by updating the CR with .spec.application.extraEnvs.secrets. This will load our secrets as environment variables in the pod when Developer Hub starts.

    ---
    apiVersion: rhdh.redhat.com/v1alpha3
    kind: Backstage
    metadata:
      name: developer-hub
      labels:
        app.kubernetes.io/name: backstage
      namespace: rhdh-operator
    spec:
      application:
        appConfig:
          configMaps:
            - name: app-config-rhdh
          mountPath: /opt/app-root/src
        dynamicPluginsConfigMapName: dynamic-plugins-rhdh
        extraEnvs:
          secrets:
            - name: github-secrets
        extraFiles:
          mountPath: /opt/app-root/src
        replicas: 1
        route:
          enabled: true
      database:
        enableLocalDb: true

    After Developer Hub restarts, it will periodically pull users and groups from GitHub. You can manage this configuration with options in the GitHubOrg provider.

    Now users from your GitHub organization can log into Developer Hub (Figure 3).

    The Red Hat Developer Hub home screen shows a red arrow pointing to the user’s name synced from GitHub.
    Figure 3: This shows a GitHub user successfully synced and logged in.

    Wrap up

    This article showed users how to import static catalogs, configure dynamic plug-ins, and integrate with GitHub for repository discovery and user/group import. These tools barely scratch the surface of integrations possible with Developer Hub and the rich plug-in library. 

    In the next article, we will explore another plug-in, allowing integration with Red Hat OpenShift GitOps (based on ArgoCD). Until then, explore the built-in features of Red Hat Developer Hub and integrations that may be important to your business. No test cluster available? Take advantage of the trial to explore Red Hat Developer Hub today. 

    Related Posts

    • Introducing the Dynamic Plug-in Factory for Developer Hub

    • Red Hat Developer Hub background and concepts

    • How to build your dynamic plug-ins for Developer Hub

    • Red Hat Developer Hub: The fastest path to Backstage on Kubernetes

    Recent Posts

    • Red Hat Enterprise Linux 10.2 and 9.8: Top features for developers

    • What GPU kernels mean for your distributed inference

    • Debugging image mode with Red Hat OpenShift 4.20: A practical guide

    • EvalHub: Because "looks good to me" isn't a benchmark

    • SQL Server HA on RHEL: Meet Pacemaker HA Agent v2 (tech preview)

    What’s up next?

    Learning Path Streamline Development: GitHub Integration and Software Templates in Red Hat Developer Hub feature image

    Streamline Development: GitHub Integration and Software Templates in Red Hat...

    In this learning exercise, we’ll build on a freshly installed Red Hat...
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.