Add database access sample