WARNING: This page is about a different car, the 2005 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: Exploded View Of ATF Cooler Valve - With Torque Specifications