Installing the Admin Dashboard
This guide covers installing the Hyvä Commerce Admin Dashboard module with Composer, both with a license key and via the Hyvä Commerce GitLab repositories for agency and technology partners. Once installed, the dashboard replaces the default Magento admin dashboard with configurable widgets.
Installation
For prerequisites, see Hyvä Commerce Installation Page.
Installation via Hyvä Commerce Metapackage Recommended
The below steps are for installing Admin Dashboard only. While this is supported to provide greater flexibility and control over installed features, in most cases, we recommend installing all Hyvä Commerce features using our metapackage.
-
Require the
hyva-themes/commerce-module-admin-dashboardpackage: -
(Optional) Require the
hyva-themes/commerce-module-admin-dashboard-google-crux-history-widgetpackage: -
(Optional) Require the
hyva-themes/commerce-module-admin-dashboard-cms-widgetspackage: -
(Optional) Require the
hyva-themes/commerce-theme-adminhtmlpackage: -
Run a setup upgrade:
Installing as an Agency or Technology Partner
If you have access to the Hyvä Commerce GitLab repositories as a Gold/Platinum Agency Partner or a Technology Partner, you can install Hyvä Commerce in development environments using SSH key authentication.
You can configure the Git repositories in your root composer.json and use them directly as Git repos beneath your vendor directory. This lets you check out tags and branches, make commits, and push contributions.
Development Environments Only
This installation method is not suited for deployments, because GitLab requires SSH key authorization and project changes can break production deployments.
-
Make sure your public SSH key is added to your account on
gitlab.hyva.io. -
Set minimum-stability to
devin the Magentocomposer.json: -
Add the Admin Dashboard and base Hyvä Commerce module repositories to the Magento
composer.json:composer config repositories.hyva-themes/commerce-module-commerce git git@gitlab.hyva.io:hyva-commerce/module-commerce.git composer config repositories.hyva-themes/commerce-module-admin-dashboard-api git git@gitlab.hyva.io:hyva-themes/commerce-module-admin-dashboard-api.git composer config repositories.hyva-themes/commerce-module-admin-dashboard git git@gitlab.hyva.io:hyva-commerce/module-admin-dashboard.git -
(Optional) Add the Admin Dashboard CrUX Widget, CMS Widgets, and Admin Theme repositories to the Magento
composer.json:composer config repositories.hyva-themes/commerce-module-admin-dashboard-google-crux-history-widget git git@gitlab.hyva.io:hyva-commerce/module-admin-dashboard-google-crux-history-widget.git composer config repositories.hyva-themes/commerce-module-admin-dashboard-cms-widgets git git@gitlab.hyva.io:hyva-commerce/module-admin-dashboard-cms-widgets.git composer config repositories.hyva-themes/commerce-module-admin-theme git git@gitlab.hyva.io:hyva-commerce/module-admin-theme.git composer config repositories.hyva-themes/commerce-theme-adminhtml git git@gitlab.hyva.io:hyva-commerce/theme-adminhtml.git -
Require the
hyva-themes/commerce-module-admin-dashboardpackage using thedev-mainbranch: -
(Optional) Require the
hyva-themes/commerce-module-admin-dashboard-google-crux-history-widgetpackage using thedev-mainbranch: -
(Optional) Require the
hyva-themes/commerce-module-admin-dashboard-cms-widgetspackage using thedev-mainbranch: -
(Optional) Require the
hyva-themes/commerce-theme-adminhtmlpackage using thedev-mainbranch: -
Run a setup upgrade:
Contract Package
hyva-themes/commerce-module-admin-dashboard-api is the stable widget contract package. It is installed transitively as a dependency of the dashboard module and does not need to be required explicitly. Custom widget modules should depend on it directly so they compile without the dashboard runtime; see the Dashboard API reference.
Admin Theme Recommended
While the default Magento/Adobe/Mage-OS admin themes are supported, we recommend installing the Hyvä Admin Theme for the best visual experience when using the Admin Dashboard.
Additional Setup
No further steps are required. For more details on how to configure Admin Dashboard settings, see the configuration guide.