There's an example in the README how to do exactly that :)