Get config from magento