The near-kiss occurs in Season 4, Episode 7: "A Very Special Episode."
After solving the case, a vulnerable moment brings them close, but Gus interrupts. This sets up their romantic arc in later seasons.