How to bake Ambient Occlusion in a voxel mesh

I know how to make a voxel mesh, I know how to compute which vertices have what amount of occlusion but I don’t know how to apply that occlusion in the rendered scene.

Can anyone point me in the right direction please?

What is your strategy for lighting? If you don’t have lighting, you could bake the ambient occlusion values into your color buffer. Ie, get the color buffer of the box, multiply the values by the occlusion amount.