I don't have one, but per this it should be supported by gphoto2, which INDI uses to access most (all?) DSLRs it can: gphoto.org/proj/libgphoto2/support.php
I have a D5100 and D5300 and both work fine with the same list of supported items.
You will need a USB cable to connect to it. Other than that batteries, and (preferably) an SD card to store data on. (Capture to RAM recently began working for my D5300, I haven't tested with the D5100 yet.)
James - when you say you haven't tested with the D5100 yet, are you referring to capture to RAM specifically or the camera in general? And are you using a serial USB relay for bulb mode >30s? If so, how do you have it configured?
I also have the D5300 and know it requires just the USB cable, but after reading just now a thread on the KTronic USB relay not quite working (as of late last month), I'm really hoping you have a solution. Thanks!