Add MIB File?

Is there a step-by-step guide for making a MIB file of a device available in LibreNMS? Thank you.