How to connect a tape recorder up

Most preamplifiers and integrated amplifiers no longer have a tape or record output so how does one connect a vintage tape deck to a modern preamp or amplifier?