Connecting a microphone to your computer for recording purposes is simple. You can use a USB microphone, which plugs directly into your computer's USB port, or an XLR microphone with an audio interface. For USB microphones, simply connect the microphone to the USB port, and it will be ready to use. For XLR microphones, connect the microphone to the audio interface using an XLR cable, and then connect the audio interface to your computer via USB.