The connection of distribubted generation is regulated by the Electricity Authority via the Electricity Industry Participation Code Part 6.
Please see below for Powerco's three standard documents which are based off the code, designed to help people wishing to connect distributed generation to the Powerco Network.
173S003 - Powerco Distributed Generation Policy
393S089 - Distributed Generation Up to 10kW Connection Standard - Generate
393S012 - Distributed Generation Over 10kW Connection Standard - Generate