The integrating factor e^at multiplies the differential equation, y’=ay+q, to give the derivative of e^-aty: ready for integration.