I cleaned up the doc for the 2nd method and have posted it under the howto section.
Link to that article > Method-2