Here is an example on step-by-step integration procedure.