A method for bonding together two substrates includes providing a molecular glue including glue molecules, each of the glue molecules having at least two —;O—;Si or —;O—;Al moieties; reacting a surface of a first substrate with the molecular glue to attach the glue molecules to the surface of the first substrate by at least one of the —;O—;Si or —;O—;Al moieties; and reacting a surface of a second substrate with the molecular glue to attach the glue molecules to the surface of the second substrate by at least another one of the —;O—;Si or —;O—;Al moieties. The method can be used for a variety of applications including manufacturing a vapor cell.