Adds documentation on how to set up the middleware