cms and doc integration