Installing the SpectroCloud Ingestor Plugin#
This guide will help you install and set up the SpectroCloud ingestor plugin in your Backstage instance.
Prerequisites#
Before installing the ingestor plugin, ensure you have:
- A working Backstage instance
- Node.js and npm/yarn installed
- Access to your Backstage backend configuration
- SpectroCloud Palette API credentials
Installation Steps#
1. Add Required Package#
Install the required package using your package manager:
2. Add to Backend#
Modify your backend entry point (typically packages/backend/src/index.ts):
// In your backend initialization
backend.add(import('@terasky/backstage-plugin-spectrocloud-ingestor'));
3. Configure SpectroCloud Connection#
Add the following to your app-config.yaml:
spectrocloud:
environments:
- name: production
url: https://api.spectrocloud.com
tenant: my-tenant
apiToken: ${SPECTROCLOUD_API_TOKEN}
catalogProvider:
enabled: true
refreshIntervalSeconds: 600
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The backend starts without errors
- Entities appear in the catalog after the refresh interval
- Entity relationships are properly created
Testing the Installation#
-
Check Backend Logs Look for messages like:
-
View Catalog Entities
- Navigate to the Backstage catalog
- Filter by
type:spectrocloud-clusterortype:spectrocloud-cluster-profile -
Verify entities have correct annotations
-
Check Entity Relationships
- Open a cluster entity
- Verify it shows the parent system (project)
- Check profile references in annotations
Troubleshooting#
Common issues and solutions:
1. No Entities Appearing#
- Verify SpectroCloud API credentials
- Check
catalogProvider.enabledistrue - Wait for the refresh interval to complete
- Check backend logs for errors
2. Backend Startup Issues#
3. API Connection Issues#
- Verify SpectroCloud API URL is correct
- Check API token is valid and has read permissions
- Ensure tenant name is correct
- Review network connectivity
4. Duplicate Entities#
- If using multiple instances, ensure unique
namevalues - Check annotation prefix is consistent
- Review entity naming conventions
Next Steps#
After successful installation:
- Configure catalog provider options
- Set up entity refresh schedules
- Install the frontend plugin for visualization
- Install the backend plugin for API access
Proceed to the Configuration Guide for detailed setup instructions.