How i can tests and install external shopware plugin from shopware shop on my local machine?

I figured out that the moust important is to have that mapping in hosts file and in shopware shop (basic settings menu)  the host should be the same. Then we can go to backend by www.mydomain.com/backen and all is working. Thanks for help guys!