Make sure you have all the right tools and materials you need to install the hot water tank correctly. Perform the necessary research before trying to install your hot water tank.
First, you will want to turn off the gas supply, power, and water to the tank. Then install the hose at the bottom of the hot water tank to dry water from the tank. Now you need to take a nipple inlet and outlet from the water tank, then you have to use two pipe fittings for this. To avoid DIY procedure you can hire professionals for warm water replacement.
If it is a gas water heater, use two key pipes and remove the union, which is between supply pipes and incoming channel pipes or maybe just fits. You can take a waste cap too because the tank doesn't run.
Now your tank is cut off, transferring it out of the way, and placing a new one. Make sure you can get to all the Dials buttons correctly when you put the tank back.
A good practical rule is to use about 6 inches around. So this means ensuring that nothing is flammable in a distance of 6 inches from your tank. Also make sure it's flat on the floor, you might need to make some shims.