Add database and related settings