Add snippet and instructions in README file.