Heres the problem, unless you have a 100 amp ( for 100 amp service) or a 200 amp generator, you cant just put the transfer switch ahead of the panel. If you have a 50 amp gen set trying to power up a 200 amp panel, you will have an overload to the generator and it will shut down. So what alot of people do are buy a 50 amp generac (home depot special) auto start generac generator and they want to power their 200 amp panel. I tell them we cant power the heat, water heater and stove with this unit. So i have to install a smaller 50 amp panel next to the 200 amp panel (if theres room) with a 100 amp auto transfer switch between the two. I power the new 50 amp panel from thew house panel, then i have to re-run all the circuits that the owner wants to run off of the generator to the new panel. 6 hours later, hes up and running, with alot of drywall repair.
Unless you install a generator that can power up your entire panels actual load, the simple installation of the transfer switch IS NOT the proper way to do it, and here in Idaho, the Inspector WILL fail the install.
Or, i pull out the old panel and install the new panel (1-2 hrs work) add a feed to the generator and I'm done. The new panel is a legal split bus panel that will LEGALLY allow the installation of the lower amperage generator as you can move circuits to balance the load to match generator output.