The link describes what you need to do. Exactly how you apply it to your project you will need to work out for yourself as you have not posted a circuit or any code.
USB can have varying voltage. Make sure you actually check you have good power with a voltmeter.