Installing the Educates Frontend Plugin#
This guide will help you install and set up the Educates frontend plugin in your Backstage instance.
Prerequisites#
Before installing the plugin, ensure you have:
- A working Backstage instance
- The Educates backend plugin installed and configured
- Access to one or more Educates training portals
Installation Steps#
1. Add the Package#
Install the plugin package using yarn:
2. Add to App Routes#
Add the Educates page to your app routes in packages/app/src/App.tsx
:
import { EducatesPage } from '@terasky/backstage-plugin-educates';
const routes = (
<FlatRoutes>
{/* ... other routes ... */}
<Route path="/educates" element={<EducatesPage />} />
</FlatRoutes>
);
3. Add to Sidebar#
Add the Educates link to your sidebar in packages/app/src/components/Root/Root.tsx
:
import { SchoolIcon } from '@material-ui/icons';
export const Root = () => (
<SidebarPage>
<Sidebar>
{/* ... other sidebar items ... */}
<SidebarItem icon={SchoolIcon} to="/educates" text="Workshops" />
</Sidebar>
</SidebarPage>
);
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The Workshops link appears in your sidebar
- The workshops page loads successfully
- You can view available workshops from your training portals
Troubleshooting#
Common issues and solutions:
-
Page Not Found
- Verify route configuration in App.tsx
- Check sidebar link path
- Ensure all imports are correct
-
No Workshops Displayed
- Confirm backend plugin is installed and configured
- Check training portal configuration
- Verify permissions are properly set up
For configuration options and customization, proceed to the Configuration Guide.