After installing the component you should navigate to Components -> Gallery2 -> Settings and enter the paths to your Gallery2 script. The other option is to use the installation wizard.

Please mind that the component integration can be a difficult and a time consuming procedure. SiteGround.com provides it as a paid service. If you need assistance with the Joomla-Gallery integration, please post a ticket in Exclusive Professional Services -> Application Integration.