Add MagentoConfiguration and a command to check validity of connection

Where is it used?