Portable Gas

How do I hook a portable gas powered generator up to an apartment so that I have electricity?

I am trying to hook up a generator to an apartments electrical to be able to turn te apartment for the apartment complex I work for so I need to know how to do it so I can see and make sure everything electrical works.

You need to use a transfer switch. This disconnects you from the grid while the generator is running so the power company workers don't get shocked from your power source. There are automatic and manual transfer switches. An automatic switch is usually used with a permananently installed generator. The generator starts by itself when the power goes out and the switch keeps the utility workers safe. When the power comes back on it shuts itself off. Manual switches are more commonly used with portable generators. You flip the switch, then plug in and start the generator. When the power returns you do the reverse. If your generator is not big enough to power the whole house you will need an electrician to wire it to the circuits you need most.