You will need some sort of flashing where the mounts attach to the roof. Typically you mount a "post" every 4 feet, landing on a truss or rafter. Then you span the posts, horizontally with a framing member. Then you attach "clips" to the horiz rails, to hold the panels in place
Steve