The easiest way to record an electric guitar is to plug it directly into an audio interface that is hooked up to your PC, but when you have created a unique sound with your pedals and amps that you want to record then you will need to setup a microphone.