How do I point my affiliate id to specific links on site?

I want to point to specific link with my affiliate info so that I get credit. How do I do this? Also Is there a way to point affilate to training video on the site for potential customers who are helping me with my site?