Start by teaching your dog to touch the door with their nose. Reward them with treats when they do so. Repeat until they consistently touch the door on command.
Attach a rope or towel to the door handle. Encourage your dog to pull the rope to close the door. Reward them for each successful attempt.
Practice the command 'close the door' while guiding your dog to use their paw or nose to push the door shut. Reward them for their efforts.
Gradually reduce your assistance until your dog can close the door independently. Praise them each time they successfully close the door on command.
Consistency is key. Practice regularly and make the training sessions fun and rewarding for your dog. Soon, they will master the skill of closing doors.
Enjoy the convenience of having a dog that can help close doors around the house. Keep reinforcing the behavior to maintain this useful trick.