WARNING: This page is about a different car, the 2006 Nissan Quest. However, it is still accessible from the selected car via links, so may be relevant.
Refer to the figure for ATF cooler valve and hoses removal and installation information.
Fig 1: ATF Cooler Valve Replacement Components With Torque Specifications