Chapter 8. Customizing the Quickstart plugin
8.1. About Quickstarts Copy linkLink copied to clipboard!
The Quickstart plugin provides guided onboarding for adminstrators of Red Hat Developer Hub. It displays a customizable drawer interface with interactive quickstart steps that help users get familiar with the platform.
If RBAC is enabled, Quickstart is only accesible to users with administrator permissions.
The Quickstart plugin is enabled by default and includes the following components:
- Set up authentication
- Set up secure login credentials to protect your account from unauthorized access.
- Configure RBAC
- Assign roles and permissions to control who can view, create, or edit resources, ensuring secure and efficient collaboration.
- Configure Git
- Connect your Git providers, such as GitHub to manage code, automate workflows, and integrate with platform features.
- Manage plugins
- Browse and install extensions to add features, connect with external tools, and customize your experience.
8.2. Customizing your Red Hat Developer Hub Quickstart Copy linkLink copied to clipboard!
As an administrator, you can configure the Red Hat Developer Hub Quickstart plugin to create customized onboarding for your Developer Hub users.
Prerequisites
You must have administrator permissions.
Procedure
Update your
app-config.yaml, as shown in the following code:Copy to Clipboard Copied! Toggle word wrap Toggle overflow title- Enter the display title for the quickstart step.
description- Enter the brief description of what the step covers.
icon- (Optional) Enter the icon identifier (supports Material UI icons).
roles-
(Optional): Enter an array of user roles that should see this quickstart item. Supported values:
['admin', 'developer']. If not specified, defaults to['admin'] ctatext- (Optional) Enter the CTA button text.
link- (Optional) Enter the CTA target URL or route.
8.2.1. Disabling the Quickstart plugin Copy linkLink copied to clipboard!
The Quickstart plugin is pre-loaded in Developer Hub with basic configuration properties, and enabled by default.
Procedure
To disable the Quickstart plugin, set the disabled property to
trueas shown in the following code:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
8.3. Using Quickstart onboarding steps Copy linkLink copied to clipboard!
You can use the Quickstart onboarding steps to learn more about the administrator features of RHDH.
Prerequisites
- (Optional) If RBAC is enabled, you must have administrator permissions to access to the Quickstart feature.
Procedure
To start a Quickstart step in Red Hat Developer Hub, complete the following steps:
-
In your RHDH navigation menu, click the Help (
?) icon. - In the dropdown menu, click Quick start.
- Select the Quickstart step that you would like to begin.
To close the Quickstart drawer, click Hide.
NoteYour overall progress is tracked and displayed as a progress bar and a progress percentage in the Quickstart footer.
8.4. Enabling Quickstart localization in RHDH Copy linkLink copied to clipboard!
You can enable translation key support for Quickstart titles, descriptions, and CTAs, so that users can onboard in their preferred language. In Developer Hub, all existing and newly created Quickstart steps support localization using dedicated translation keys (titleKey, descriptionKey, cta.textKey).
If a translation key is present but the corresponding localized string is missing, the system defaults to the original text defined in the Quickstart configuration (title, description, text). If no translation key is defined at all, the original text is displayed.
Prerequisites
- You have enabled localization in your RHDH application.
Procedure
For all Quickstart steps (both existing and new) in your configuration file, you must define both the original text and the new localization keys. For example, in the
quickstartsection of your customapp-config.yamlfile, add thetitleKey,descriptionKey, andtextKeyvalues, as follows:app-config.yamlfragmentCopy to Clipboard Copied! Toggle word wrap Toggle overflow where:
title- (Mandatory) Fallback for the title.
titleKey- Key for the translated title.
description- (Mandatory) Fallback for the description.
descriptionKey- Key for the translated description.
text- (Mandatory) Fallback for the CTA text.
textKey- Key for the translated CTA text.
In your
dynamic-plugins.yamlfile, add thetranslationResourcessection to yourred-hat-developer-hub-backstage-plugin-quickstartconfiguration, as follows:app-config.yamlfragmentCopy to Clipboard Copied! Toggle word wrap Toggle overflow where:
- importName
- Enter the name used to reference the import.
- ref
- Reference to the resource definition.
In your translation file, map the keys from the first step to the localized strings for each supported language.
allTranslations.jsonfragmentCopy to Clipboard Copied! Toggle word wrap Toggle overflow