You can connect USB directly to the USB port of your computer. But XLR requires an external recording interface. So you'll need a separate audio interface if you're going with XLR. XLR is more powerful than a USB and is recommended for high-quality studio works.