db intergration