Potentiometers have three pins. When we're using it as a voltage divider, we connect the outside pins to power and ground. The middle pin will be the signal (a voltage which varies from 0 Volts to 5 Volts depending on the position of the knob).
(TIP: if once your program is running, the knob feels "backwards", you can swap the 5V and GND pins to reverse the direction.)
Most Arduinos already have an LED and resistor connected to pin 13, so you may not need any additional circuitry.
But if you'd like to connect a second LED to pin 13, or use a different pin, follow these steps: