Help Doc for adding canonical code

Please could you issue a Help Doc that goes step by step through the process and syntax of adding canonical code - especially how it can be handled in collections? The brief intro on your blog is a great teaser, but just not granular enough for me to implement. Thanks!