- Create and register a Component in Backstage
- Group components under a team entity
- Assign owners at both group and user levels
- Build dependency graphs with System, Domain, and Resource entities
Entity Types Overview
1. Create a Component
Define a simple e-commerce Component named shopping-cart. Save this YAML inentity.yaml (or anywhere in your catalog):
2. Import the Component
- In Backstage, navigate to Home → Create → Register Existing Component.
- Enter the GitHub URL pointing to your
entity.yamland click Analyze.

If you see an error like:it often means an
apiVersion typo. Correct backstag.io to backstage.io, push again, then wait a minute before re-analyzing.3. Create a Group
Backstage YAML supports multiple documents per file. Extendentity.yaml to add an ecommerce Group:
After pushing, go to Catalog → Locations, remove the previous location, and re-register it. This forces Backstage to refresh your entities.


4. Assign Group Ownership
Once the catalog updates, open shopping-cart in Backstage to confirm its owner isguests. Then verify the new ecommerce group appears under Owner.


5. Explore a URL Entity
Backstage can register non-code resources too. Here’s a URL entity example:
6. Create a User
Append a User entry (e.g.,john) to entity.yaml:
User, update your app-config.yaml:
yarn dev), then re-import.

7. Add a Dependent Component
Define a second Component inventory and declare that shopping-cart depends on it:8. Define a System
Group shopping-cart and inventory under a purchasing System:9. Define a Domain
Create a shopping-app Domain to group related systems:yarn dev), and re-register:


10. Define a Resource
Model a Resource (e.g., an inventory database) and link it to your System:
Congratulations! You’ve successfully created and linked Component, Group, User, System, Domain, and Resource entities in Backstage, complete with ownership and dependency mappings.