Primer on Maurer--Cartan form