This guide explains how to install Backstage and connect this repository to it as a platform product.
Stand up a Backstage instance, then register this repository as:
- A catalog component
- A TechDocs source
- A Scaffolder template
You should have:
- Node.js 20 or later
- Yarn or npm
- Git
- Access to a GitHub organization or repository host
- A place to run Backstage, local or hosted
Optional but recommended:
- PostgreSQL for production Backstage deployments
- GitHub App or token for catalog/scaffolder integrations
- Cloud storage for TechDocs publishing in production
This repository now already includes a scaffolded Backstage app in:
backstage/
It has been configured to load:
../catalog-info.yaml../templates/create-bedrock-chatbot/template.yaml- local org and system entities from
backstage/examples/
Use the official Backstage app creator if you want to reproduce the install from scratch.
npx @backstage/create-app@latestIn this repository, that step has already been completed and the app lives under backstage/.
Move into the new app and install dependencies if needed.
cd backstage
yarn install
yarn devBackstage typically starts at:
http://localhost:3000
Update backstage/app-config.yaml in the Backstage app.
You will usually need:
- GitHub integration
- Catalog locations
- TechDocs configuration
Example areas to configure:
integrations.githubcatalog.locationstechdocs
This repo already includes local file-based catalog locations for the component and scaffolder template.
Once Backstage is running:
- Open the catalog import page.
- Choose repository URL import.
- If needed, point Backstage to this repo’s
catalog-info.yaml.
Expected result:
- The
bedrock-chatbotcomponent appears in the catalog. - The
bedrock-chatbot-apiAPI appears and links to the component.
This repository already includes:
mkdocs.ymldocs/
To use TechDocs:
- Make sure TechDocs is enabled in your Backstage app.
- Choose one of these modes:
- Local build
- CI build and publish
- Rebuild docs and verify they show on the component page.
For local-first setups, you can begin with TechDocs in local mode and move to a publisher later.
This repo already includes a template at:
templates/create-bedrock-chatbot/template.yaml
To register it:
- Open the Backstage create/import template flow.
- Register the template file from this repository.
- Confirm it appears as
Create Bedrock Chatbot.
Expected result:
- Developers can launch the scaffolder form
- The form asks for service metadata and AWS configuration
- A repository can be created from the template
The included scaffolder template currently assumes GitHub publishing and uses tukue as the owner in the publish step.
Before production use, update:
- GitHub owner/org
- Repository naming convention
- Default branch
- Authentication/integration settings
File to edit:
templates/create-bedrock-chatbot/template.yaml
For production use, you should also configure:
- PostgreSQL instead of SQLite
- Secure secrets management
- TechDocs publisher storage
- GitHub App or enterprise SCM integration
- Sign-in/auth provider
- Monitoring and logging for Backstage itself
Use this checklist:
- Backstage starts locally or in your target environment.
- This repo imports successfully into the catalog.
- TechDocs render from this repo.
- The
Create Bedrock Chatbottemplate appears in Scaffolder. - A scaffolder run can create a test repository.
Once installation works:
- Add CI for docs and template validation.
- Add ownership and support metadata.
- Add cloud links, dashboards, and scorecards.
- Treat this starter as a versioned platform product.
catalog-info.yamlmkdocs.ymldocs/index.mddocs/backstage.mdtemplates/create-bedrock-chatbot/template.yaml
After installing Backstage, the first repo-specific action should be registering catalog-info.yaml, then registering the scaffolder template.