> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.monkcommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create a link that auto adds a free gift to cart/checkout?

This document is a guide on how you can create website links that can auto-apply discount codes to give a free gift (free gift auto add or free gift selection) to eligible customers in cart or checkout. These links can be added to your email/SMS or influencer marketing campaigns, etc.

|| Please note, checkout offers are only exclusive to subscriptions with Shopify Plus.

### How to set it up?

1. Go to the Monk app dashboard and click on Create Offer > Free Gift > Free gift via code or link (Auto-add or Selection).

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_199wf8n.png)
2. Under step 1 , you can choose the display method to be cart or checkout (Shopify plus exclusive). Under 'rules' section, select Show offer if : specific discount codes and enter discount codes (separated by comma) that you wish to be auto applied when a customer is eligible for the gift with purchase.

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_vfx89z.png)
3. This will create shareable links for the discount code(s).

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_1m92ki2.png)
4. You can then copy this code and paste it on a tab, and it should auto add the offer upon adding the trigger product to cart.

* This is how it will show up on checkout (upon adding the trigger product to cart and then clicking on 'checkout', the discount code will be auto applied) :

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_108evr2.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_co2dx6.png)

|| To know how to create a free gift discount code offer at checkout, you can refer to this [document](https://monkcommerce.crisp.help/en/article/how-to-set-up-a-free-gift-discount-code-offer-shopify-plus-13jgjat/).

* This is how it will look on the cart (upon adding the trigger product to cart, the discount code will be auto applied) :

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_1u7n4kn.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/6/1/7/e/617e4ffe6e3c3800/image_zjwfgt.png)

|| To know how to create a free gift discount code offer at cart, you can refer to this [document](https://monkcommerce.crisp.help/en/article/how-to-set-up-a-free-gift-discount-code-offer-non-shopify-plus-c3n9kl/).

If you face any issues or have any questions please reach out to us at support@monkcommerce.com or via live chat, we'll be happy to assist :)