# Referral links and coupon codes > Create them in one click\, choose where a link opens\, and understand which one gets the credit\. *Guides → Affiliate program* ## Create in one click In [Links \& coupons](/affiliate-portal/links)\, choose “Create link” or “Create coupon code”\. Knarrion generates a readable link \(for example `/r/yourname-k7m3p`\) or an unguessable code and shows it ready to copy or share\. Under “Customize” you can pick your own link name\, set an expiry\, or limit how often a code can be used\. ## Referral links - A link can open the home page\, all products\, or pricing\. - When someone opens your link\, their browser remembers you for the attribution window \(30 days by default\)\. If they buy within that window\, the sale is credited to you\. - If the customer opens another partner\'s link later\, the most recent link wins\. ## Coupon codes - Your code gives customers the discount set for your account \(shown in the portal\)\. - Codes you create also apply on top of an offer that is already on sale\, so they keep working during promotions\. A code issued to you by the Knarrion team follows its own campaign rules\. - By default each customer can use your code once\. - A coupon always wins\: if a customer uses your code\, the sale is credited to you even if they arrived through someone else\'s link\. ## Pausing and archiving Pause a link or code to stop new credits temporarily\; activate it again at any time\. Archive it when you no longer need it\. Archiving keeps all past sales and earnings\. Your account can keep a limited number of active links and codes \(shown in the portal\)\; archive one to make room\. > **YOUR OWN PURCHASES** — Buying through your own link or code never earns commission\, and a coupon cannot be redeemed by the partner who owns it\.