document notification setup