Add external database access