Choose the type of power inverter you want in your RV. Some simply require you to plug them into a 12-volt outlet in the vehicle like the cigarette lighter. Others must be wired directly to a battery.
Select a location to mount the inverter in the vehicle. If you're connecting the inverter to a spare battery, mount it and the battery as close as possible to the vehicle's shore power compartment. You need a happy medium distance between the inverter and battery so you can use the least amount of cable while protecting the inverter from acid or gases.
Mount the power inverter and the battery within the vehicle. It will help to screw (or fasten with adhesive strips) trays for the battery and inverter and secure the devices into the trays -- they can often be screwed into the trays.
Wire the inverter to the battery. Depending on your inverter, this can include clamps (not recommended for permanent installation), locking rings or nuts when connecting. Connect the positive (red) wire to the battery's positive terminal first and then the negative (black) wire to the negative terminal.
Plug the RV's shore power cord into one of the inverter's sockets. This allows the inverter to transfer power from the battery to power any devices within the vehicle that the inverter's position can't reach.