SharkBite's braided flexible water heater connectors are great for easily connecting your hot and cold water supply lines to your water heater.
Simply apply pipe thread to the MIP nipples on the water heater and then thread the female connection of the connector to the nipple and tighten with channel locks or a similar tool.