There's actually a number of ways to do it. Our current blog post sets forth a framework for understanding the alternatives, and for assessing the pros and cons of each.