How to run guitar to computer

Hey guys, I'm new to all this modeling stuff but I'd love to take advantage of NAMs and things like that. What do I need to connect my guitar to my PC? A lot of the interfaces I've been looking at say they're for recording, but I'm not sure if that means that's what I need to run nam plugins.

Thanks!