By glue if you mean caulk, depending on what you use it may stay in place. It is best to bolt or rivet the the tunnel on. Look for the Troyer tunnel with collar, it is a better choice for houses. https://www.purplemartinproducts.com/TroyerTunnelwithCollar