where to connect Potentiometer's pins
That circuit uses a potentiometer as a variable resistor. Connect the middle terminal of the potentiometer to one of the end terminals. Then use the two end terminals as the two terminals shown in the circuit.