The procedure involves placing small, flat metal discs called electrodes on the baby's scalp. These electrodes are connected to an EEG machine that records the brain's electrical activity. The test usually takes about 20-40 minutes and can be performed bedside in the Neonatal Intensive Care Unit (NICU).