Installation and deployment
To install the module, simply:
- Install the module: - Add the Composer repository to the configuration by running
You will receive the access credentials for the Composer repository (the customer email address and license token) by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace
TWOJ_EMAIL_KLIENTAwith your account email address andTWOJ_TOKENwith the token you received. Run the commands in the Magento root directory.composer config repositories.kowal composer https://repo.kowal.store
Add the access token to the private repositorycomposer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'
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 the API user key














