For an affiliate discount? You have to enter TurboTax from the affiliate's link to get the discount.
Why or how do you have a "code"? Is it the 14 digit License Code? Did you pay for the Turbo Tax Desktop program?
How to get the partner discount
https://ttlc.intuit.com/community/charges-and-fees/help/how-do-i-get-my-turbotax-affiliate-partner-discount/00/26509