I think you need an audio interface. I got a cheap one on Amazon and it just connects to my computer via USB. This is the one I got: https://www.amazon.com/dp/B08Q1NJSBQ?ref=ppx_pop_mob_ap_share