Database integration