Enable Affiliate Mode

You can enable the Affiliate mode in Catalog Settings > General section:

Enable affiliate mode

After you enable it, you will see a new Affiliate Button settings section in Catalog Settings > General in the left side menu:

Affiliate button menu