It is easy to produce electricity from a three-phase motor. Generally, it is star connection below 4KW and angle connection above 4KW.
The capacitor requires superior oil immersed power capacitors at 600 V. and 16UF per KW below 10KW, 14UF per KW above 10KW.