There are SAS documentation and white papers with example code around for everything you need to do.
What have you implemented so far? What is not working? Can you be more specific and also provide the code with error log you've already could come up with?