Lots have been asking about this so makes sense to have an example for. Once this is merged I'll add a link to it in the docs.