We used a terahertz (THz) quantum cascade laser (QCL) as an integrated injection seeded source and amplifier for THz time-domain spectroscopy. A THz input pulse is generated inside a QCL by illuminating the laser facet with a near-IR pulse from a femtosecond laser and amplified using gain switching. The THz output from the QCL is found to saturate upon increasing the amplitude of the THz input power, which indicates that the QCL is operating in an injection seeded regime.