Have affiliate links to promote my course

Have affiliate links to promote my course

Hi,

Is there a way I can generate affiliate links for students or other peers can promote my course on commision?