Preconfigured junction boxes with integrated surge protection device for use in main power supply systems.