From the tubing installation practices section of installation handbook.
Electric hot water heater installation with pex.
Step 1 shut down the water supply.
Cross linked polyethylene pex hot and cold water distribution systems of the plastic pipe and fittings association.
1 cost of product unless you buy a new water heater in advance and ask us to install it separately any in home consultation that includes a replacement water heater install will have the product s cost included.
Step 2 connect the metal connector to the water heater.
A copper stub out elbow and a copper pipe will do.
There s no need to use pex on your water heater and you probably shouldn t seeing as how your t p valve won t go off until after you ve already exceeded pex s maximum operating temperature.
Connect the plumbing supply lines to the water heater according to manufacturer s instructions and local code requirements solid copper pipe or flexible copper supply lines are common.
Make sure the drain valve is completely closed and then turn the main water supply on and open all line valves.
Instead you can use a flex line like this.
Install a minimum 18 inches of metallic or other approved material piping between water heater and pex tubing.
Sometimes opening a hot water faucet on a sink helps the water heater tank to empty faster.
Also domestic hot water should not be 100 120f but rather around 130f.
Before connecting the pex pipe to the water heater find a suitable metal connector to install onto the water heater.
Although this was hooked up without soldering this will have to be addressed down the road.
Shut down the water supply first before working with the connection.