The WFIRST wide field instrument (WFI) includes a slitless spectrometer, which plays an important role in the WFIRST mission for the survey of emission-line galaxies. WFI is building engineering design and environmental test (EDU and ETU) units to reduce risk for the flight grism unit. We report here on successful build and test of the EDU grism. The four-element EDU grism consists of two prism elements and two diffractive elements that provide R700 dispersion. The elements were fabricated with alignment fiducials and integral flats to allow opto-mechanical alignment in six-degrees of freedom. Each element in turn, was installed onto a hexapod and positioned to its nominal orientation relative to the grism deck, then bonded into individual cells. Alignment measurements were performed in situ using theodolites to set tip/tilt and a Micro-vu non-contact Multisensor Measurement System was used to set despace, decenter and clocking of each element using the hexapod. After opto-mechanical alignment, the grism wavefront was measured using an Infrared ZYGO interferometer at various field points extending over a 20 by 14- degree (local) field of view. Using modeled alignment sensitivities, we determined the alignment correction required on our Element 2 prism compensator and successfully minimized the field dependent wavefront error and confocality. This paper details the alignment and testing of the EDU grism at ambient and cold operating temperatures.