We consider the free 2-step nilpotent Lie algebra and its cohomology ring. The homotopy transfer induces a homotopy commutative algebra on its cohomology ring which we describe. We show that this cohomology is generated in degree 1 as $C_\infty$-algebra only by the induced binary and ternary operations.