A method is provided for embedding electronic components including electrochemical cells within a circuit board substrate. The method includes micromachining the printed circuit board substrate to a selective depth to form a recess. A component is inserted into the recess and an electrical connection is established between the electrical component and a metallized pattern of the circuit board substrate using, e.g., laser direct-write.