Adding Google API index code

Did anyone end up integrating this? looking to set it up on my next project for a news/media company. Would love to know how you went about it.