Here, we present a protocol to perform sensitive, spatially resolved gas spectroscopy in the mid-infrared region, using degenerate four-wave mixing combined with upconversion detection.