> ## Documentation Index
> Fetch the complete documentation index at: https://polar.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How to automatically share links to customers after purchase

> Learn how to use the Custom Benefit to automatically share links with customers after purchase.

## Create a Custom Benefit

<Steps>
  <Step title="Go to Benefits">
    In the Polar dashboard sidebar, click on **Benefits**.

    You can also go directly to `https://polar.sh/dashboard/${org_slug}/products/benefits`.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/benefits-page.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=70fa50c0ac36ad18b5199025e96d47c0" data-path="assets/guides/automate-post-purchase-link-sharing/benefits-page.png" />
  </Step>

  <Step title="Click on Create Benefit">
    Click on **Create Benefit**. You’ll see three configuration fields as shown in the image below: **Description**, **Type**, and **Private note**.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-benefit.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=0bb5a2fdbf2266e9ce9891238a3eb090" data-path="assets/guides/automate-post-purchase-link-sharing/create-benefit.png" />

    The **Type** field is set to Custom by default (which is what we need).

    <Note>
      The **Private note** field is specific to the Custom **Type**.  If you select a different **Type**, you’ll see configuration options specific to that type instead.
    </Note>
  </Step>

  <Step title="Fill the configuration fields">
    <a id="configuration-fill" />

    Fill the **Description** and **Private note** fields where:

    * **Description** accepts regular text and is the title of the link that you want to share with the customer.
    * **Private note** uses the [Markdown format](https://www.markdownguide.org/basic-syntax/) so you can format text, add links, or lists.

    Make sure to add your link inside the **Private note** section so that it's only accessible post a payment.
    Then, click the **Create** button to save the configuration.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-benefit-with-details.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=6eea610f696828d084b8d9e7b37acab5" data-path="assets/guides/automate-post-purchase-link-sharing/create-benefit-with-details.png" />
  </Step>

  <Step title="You've successfully created your own Link Benefit!">
    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/benefit-created.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=43308330a6dbf8ea20928e9fb2aefbb0" data-path="assets/guides/automate-post-purchase-link-sharing/benefit-created.png" />
  </Step>
</Steps>

## Create a product using the Custom Benefit

<Steps>
  <Step title="Go to Products Catalogue">
    In the Polar dashboard sidebar, navigate to **Products** > **Catalogue** for your organization.

    You can also go directly to `https://polar.sh/dashboard/${org_slug}/products`.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/product-catalogue.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=47cfecc9c4e3ca117fe18b36c86c3e74" data-path="assets/guides/automate-post-purchase-link-sharing/product-catalogue.png" />
  </Step>

  <Step title="Fill new Product information">
    Click on **New Product**. Fill out the Product information.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-product-1.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=bcf69f29179191b6135ed68fa0ff0ad8" data-path="assets/guides/automate-post-purchase-link-sharing/create-product-1.png" />
  </Step>

  <Step title="Scroll to Automated Benefits">
    On the product creation page, scroll to the bottom to find the **Automated Benefits** section.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-product2.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=bbb1bc96c239d65abfef58b78a6dcba6" data-path="assets/guides/automate-post-purchase-link-sharing/create-product2.png" />
  </Step>

  <Step title="Select your Custom Benefit">
    Click on Custom to see all the custom benefits you’ve created, and then toggle ON the one you want to enable.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-product3.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=8dd40ce959f911bbd97fecf6e8bcdab5" data-path="assets/guides/automate-post-purchase-link-sharing/create-product3.png" />

    <Info>
      If you don’t want to use an existing Custom benefit, you can create a new one by clicking **Create new**.
      Enter the configuration details, following the [Step 3](#configuration-fill) of [Create a Custom Benefit](#create-a-custom-benefit) section.

      <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/create-product4.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=d6923712622de2cd67c868ef501c4048" data-path="assets/guides/automate-post-purchase-link-sharing/create-product4.png" />
    </Info>
  </Step>

  <Step title="Save the Product">
    Click on **Create Product** button in the product creation form.

    <img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/product-created.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=5c07e41436100302e7e314a38ae054a8" data-path="assets/guides/automate-post-purchase-link-sharing/product-created.png" />

    Your product is successfully created along with the Custom benefit that allows you to share the links automatically to customers after purchase.
  </Step>
</Steps>

## How the Custom Benefit Appears During Checkout

Your Custom Benefit is visible to customers at multiple stages of their purchase journey:

### Checkout Page

When a customer opens the checkout session, they’ll see the **Description of your Custom Benefit** listed under **Included**.

<img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/checkout.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=d68cf44511e8ec1df8597016d6dbfc58" data-path="assets/guides/automate-post-purchase-link-sharing/checkout.png" />

### After Purchase

Once the customer completes their purchase, the **Description**, the **Benefit Type** (in this case, **Custom**), and the **rendered Markdown content** from the **Private note** of the **Custom Benefit** are displayed, allowing them to access any links or formatted text you’ve added.

<img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/purchased.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=274313c153abfff9edfa0c922a1960de" data-path="assets/guides/automate-post-purchase-link-sharing/purchased.png" />

### Purchase Confirmation Email

The **Description** and the rendered Markdown content of the **Custom Benefit** also appear in the purchase confirmation email sent to the customer, as shown below.

<img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/email.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=e05039d86f493f175ef0baf087750b04" data-path="assets/guides/automate-post-purchase-link-sharing/email.png" />

### Customer Portal

When the customer opens the [Customer Portal](/features/customer-portal) through the link in their confirmation email, the **Custom Benefit** is displayed there as well.

<img height="200" src="https://mintcdn.com/polar/rKs2Fff6lka61O-Y/assets/guides/automate-post-purchase-link-sharing/customer-portal.png?fit=max&auto=format&n=rKs2Fff6lka61O-Y&q=85&s=189241b896ee27d5358623289f1d0b0c" data-path="assets/guides/automate-post-purchase-link-sharing/customer-portal.png" />
