@humanitec/backstage-plugin-backend
is a plugin for the Backstage backend app. It provides a route that @humanitec/backstage-plugin
will use to connect to Humanitec API.
- Install
@humanitec/backstage-plugin-backend
plugin with,
yarn workspace backend add @humanitec/backstage-plugin-backend
- Add the plugin in
./packages/backend/src/index.ts
to your backend,
+ backend.add(import('@humanitec/backstage-plugin-backend'));
backend.start();
- Add configuration to
app-config.yaml
humanitec:
orgId: the-frontside-software-inc
token: ${HUMANITEC_TOKEN}