Turn off the power at the main breaker box. No power should be coming into the house from the grid while you connect the wind turbine to the electrical system.
Connect the wiring from the wind turbine to an inverter. The wiring specifications will vary by manufacturer, but the purpose of the inverter is to ensure that the alternating current coming from the wind turbine matches the phase, voltage and frequency of the current already in the grid. This will keep your wind turbine from damaging the grid.
Hook up your main breaker board to the middle position on the electrical relay. Connect the output wire from the inverter to the NC position (normally closed) of the relay switch.
Attach the wire coming in from the electrical grid to the NO position on the relay switch (normally open). Then, connect the field coil poles between the ground and hot wires on the wind turbine.