The shunt typically connects in series so it carries the current of interest. A voltage measurement device then connects in parallel with the shunt. The current through the shunt generates a voltage drop that is measured. The current value is derived from Ohm's law and the known resistance (I = V/R).