supplying energy to circuit

You wire things up to the 5V and ground pins of the Arduino and the USB connector from your computer supplies the energy.