Define a Backstage entity relation between a Component and a Resource using dependsOn and consumesApi in catalog-info.yaml, then verify the graph in the Catalog UI

domain: backstage.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. In the Component's catalog-info.yaml, add a spec.dependsOn list referencing the resource using the format 'resource:<namespace>/<name>'
  2. Add spec.consumesApi entries for any API entities the component consumes, using 'api:<namespace>/<name>' notation
  3. In the Resource entity's catalog-info.yaml, add spec.dependencyOf back-references if bidirectional visibility is desired
  4. Commit and push both files so the Backstage catalog ingests them via the configured integration
  5. In the Backstage UI, open the Component and navigate to the Relations tab to confirm the dependsOn and consumesApi edges appear in the entity graph

Known gotchas

Related routes

Register a Backstage component via catalog-info.yaml and the software catalog
backstage.io · 6 steps · unrated
Implement a contract counterparty KYB (Know Your Business) enrichment step in a CLM onboarding workflow using entity data APIs
general · 5 steps · unrated
Order Flux Kustomization dependencies with dependsOn to sequence multi-tier deployments
fluxcd.io/flux/components/kustomize · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp