Installation and Deployment
To install the module, simply:
- Install the module: - Add the Composer repository to the configuration by running
composer config repositories.gus vcs https://github.com/kowalco/magento-2-gus
Add an access token for the private repositorycomposer config --global --auth github-oauth.github.com
Install the Composer module by runningcomposer require kowal/module-gus
Enable the module by runningphp bin/magento module:enable Kowal_Gus
- Run the commands:
bin/magento setup:upgrade bin/magento setup:di:compile bin/magento cache:flush bin/magento indexer:reindex sales_order_grid
- Go to Kowal.co → GUS → Settings and enable the module.
- Go to https://api.stat.gov.pl/Home/RegonApi and follow the instructions to obtain an API user key




















