- Ingest entity YAML files from source control or object storage.
- Discover entity files automatically across accounts or storage locations.
- Import organizational data (users, groups, hierarchy) from identity systems or code hosts.
- Publish or synchronize data back to external systems when required.

Loading entities from repositories
Backstage commonly stores entity files as YAML in source code repositories. To load entities from private repositories, Backstage needs credentials to access those repositories. For example, configure a GitHub integration and provide a token with the minimal required scopes so Backstage can read repository contents:
When using a GitHub token, grant only the minimal scopes required to read repository contents (for example,
repo for private repos or appropriate read-only scopes). Keep tokens secure — use environment variables, secret managers, or vaults. See GitHub’s guidance for creating personal access tokens: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Links and references
- Backstage integrations overview: https://backstage.io/docs/integrations/
- Backstage GitHub integration docs: https://backstage.io/docs/integrations/github/
- Backstage entity providers: https://backstage.io/docs/features/software-catalog/descriptor-format
- GitHub personal access tokens: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token