A water-managed window installation properly weatherlaps and integrates the window unit and the rough opening flashings and weather-resistive barrier (WRB). It is appropriate for moderate to high weather exposure. In this 14-step installation series, the window unit goes in before the WRB (housewrap) goes up.
S 2//Flanged window installation // water managed // housewrap//Step 2
Details that show the complete and final configuration of window installations are fine, but window installation step-by-step series are where the rubber meets the road.