A method of assembling a hermetically sealed printed circuit board includes: securing a flange of a cap against an electrical contact region on a first side of a substrate, the flange extending across a first end portion of a wall of the cap, the wall extending around the electrical contact region and including a second end portion disposed in an open configuration; and closing the second end portion of the wall to form a hermetically sealed chamber around the electrical contact region.