Welcome to the Backstage Agile Analytics This plugin adds Agile Analytics' Reporting to your Backstage environment.
# From your Backstage root directory
yarn add --cwd packages/app @zensoftwarenl/backstage-plugin-agile-analytics
Add below configuration in the app-config.yaml
agileAnalytics:
apiKey: ${AGILE_ANALYTICS_API_KEY}
orgHash: ${AGILE_ANALYTICS_ORG_HASH}
API Key can be created here. OrgHash can be found here.
In App.tsx
import { AgileAnalyticsPage } from '@zensoftwarenl/backstage-plugin-agile-analytics';
...
const routes = (
<FlatRoutes>
// other routes
<Route
path="/agile-analytics"
element={<AgileAnalyticsPage />}
/>
// other routes
</FlatRoutes>
);
...
const App = () => (
<AppProvider>
// ...
<AppRouter>
<Root>{routes}</Root>
</AppRouter>
</AppProvider>
);
In order to add Agile Analytics to the Backstage sidebar, in components/
Root.tsx
:
<SidebarItem icon={MapIcon} to="agile-analytics" text="Agile Analytics" />