How should I hook up my generator to a manual transfer switch?
I will join longneck, you need to give to give this one to a pro.

If you do not understand about back-feeding a circuit, already, it is too easy to kill someone. I say this without exaggeration. 



The biggest problem with running a generator with a transfer switch is that you have to wire it into your main panel.

For basic protection of life, (as well as the law,) it must NOT be possible to have your generator and the power to your house on the same wire, at the same time.

This is not a case of, just for a few seconds, or I would not do that, or I will triple check a written list.

It must not be possible under mechanically, electrically, on with quantum physics.

The reason is that if you put power on the 'dead' wires to your house, it is possible to kill someone a mile away, or more.

Emergency workers expect down lines to be dead. Yes, they do check first, but that does not mean that the situation can not change while they are working on them. 

Transformers work backwards, low voltage at your generator (240) quickly becomes high voltage (thousands).

And sometimes people, and pets, or cars, just do not even see a fallen power line.

This is a case of some money to a pro vs life.