It comes with an adapter so you can charge it with same Lightning charger you use to charge the iPad itself.
I almost accidentally threw it out with the packaging. They should have incorporated into the cap so you'd always have it with you.
Also it's kind of silly they didn't make that end (where an eraser usually is) function as an eraser.