Skip to main content

Backstage plugin configuration reference

View as Markdown

Backstage app configuration

Configure one EventCatalog base URL in Backstage:

app-config.yaml
eventcatalog:
URL: https://demo.eventcatalog.dev
FieldTypeRequiredDescription
eventcatalog.URLstringYesBase URL of the EventCatalog instance. The browser displaying Backstage must be able to reach it.

Configure the EventCatalog origin, without an EventCatalog page path such as /docs, /discover, or /visualiser.

Entity annotations

Add these annotations to a Backstage catalog entity:

metadata:
annotations:
eventcatalog.dev/id: order-service
eventcatalog.dev/version: 1.0.0
eventcatalog.dev/collection: services
AnnotationRequiredDefaultDescription
eventcatalog.dev/idYes for resource viewsNoneEventCatalog resource ID.
eventcatalog.dev/versionNoLatest resource page where supportedEventCatalog resource version. Entity maps, specific system context maps, and flows should provide a version.
eventcatalog.dev/collectionNoInferred for Backstage services, APIs, and domainsEventCatalog collection containing the resource.

Supported collections include:

  • agents
  • commands
  • containers
  • data-products
  • domains
  • entities
  • events
  • flows
  • queries
  • services
  • systems
  • teams

For a Backstage Component with spec.type: service, and for a Backstage API, the inferred collection is services. For a Backstage Domain, it is domains. Other entity kinds should set eventcatalog.dev/collection explicitly.

Prop overrides

Component props override annotations. For example, this always displays the ordering domain even when the current Backstage entity maps to another resource:

<EventCatalogDocumentationEntityPage
page="entity-map"
id="ordering"
version="1.0.0"
collection="domains"
/>

type is an alias for collection and accepts singular or plural values. Known singular resource types are converted to their plural collection, so type="service" resolves to services.

EventCatalog license configuration

For commercial use, set the Scale license key in the EventCatalog deployment rather than the Backstage app:

.env
EVENTCATALOG_SCALE_LICENSE_KEY=your-scale-license-key

Existing Backstage-specific keys can continue to use EVENTCATALOG_LICENSE_KEY_BACKSTAGE, but new deployments should use EVENTCATALOG_SCALE_LICENSE_KEY. See Getting a license key for integrations.