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

# Product Mapping

> Connect a payment provider product to a Ghost membership tier.

A **product mapping** tells PayGlue: when a customer buys product X from provider Y, give them Ghost membership tier Z and send welcome email type W.

<Note>
  Running more than one Ghost blog? Create a separate provider product per blog and map each one only in the organization it belongs to. Mapping the same product in multiple organizations grants Ghost membership on *all* of them for a single purchase. See the [FAQ](/faq#i-have-multiple-ghost-blogs-how-do-i-set-up-payglue-correctly) for details.
</Note>

## Where mappings are created

Mappings are not created on a dedicated page. Instead, you configure them inline when you set up a **Buy Button**, **Paywall**, or **Pricing Table**. When you select a product and a Ghost tier in one of those editors and click **Save**, the mapping is recorded automatically.

<Steps>
  <Step title="Open an editor">
    Go to **Installation > Buttons**, **Paywall**, or **Pricing Table** in your PayGlue dashboard and open or create an item.
  </Step>

  <Step title="Select a provider and product">
    Choose your payment provider and select the product. Choose **Link a product** as the link type. Select your payment provider and the product you want to map.

    <Frame>
      <img src="https://mintcdn.com/payglue/7AYLLS7Kc1n_BHYT/images/payglue-product-mapping.png?fit=max&auto=format&n=7AYLLS7Kc1n_BHYT&q=85&s=4038fbe997318919167112bf2f1c6a98" alt="Payglue Product Mapping" width="1242" height="967" data-path="images/payglue-product-mapping.png" />
    </Frame>
  </Step>

  <Step title="Configure Ghost settings">
    Choose what happens after the customer buys a product

    <Frame>
      <img src="https://mintcdn.com/payglue/7AYLLS7Kc1n_BHYT/images/payglue-ghost-cms-mapping.png?fit=max&auto=format&n=7AYLLS7Kc1n_BHYT&q=85&s=2fc481eddbfbaf4153cfecd538c53d8b" alt="Payglue Ghost Cms Mapping" width="1242" height="967" data-path="images/payglue-ghost-cms-mapping.png" />
    </Frame>

    1. One-Time or Subscription
    2. Subscribe to the newsletter. (*Defaul: Yes*)
    3. Welcome email for new member (*Magic link is recommended.)*
  </Step>

  <Step title="Configure email">
    Select which welcome email Ghost should send. Magic link is recommended.

    <Frame>
      <img src="https://mintcdn.com/payglue/7AYLLS7Kc1n_BHYT/images/payglue-welcome-email-actions.png?fit=max&auto=format&n=7AYLLS7Kc1n_BHYT&q=85&s=5ab1cea08faa09c05def971e144cabb4" alt="Payglue Welcome Email Actions" width="444" height="458" data-path="images/payglue-welcome-email-actions.png" />
    </Frame>
  </Step>

  <Step title="Save and copy the webhook URL">
    Save the mapping. Copy the webhook URL and add it to your provider's webhook settings.
  </Step>

  <Step title="Save">
    Click **Save**. The mapping is created automatically and appears in **Analytics > Product Mapping**.
  </Step>
</Steps>

## Viewing all mappings

Go to **Analytics > Product Mapping** in your dashboard to see all configured mappings — which product maps to which Ghost tier, the trigger event type, and where each mapping was created (button, paywall, or pricing table).

<Frame>
  <img src="https://mintcdn.com/payglue/7AYLLS7Kc1n_BHYT/images/payglue-analytics.png?fit=max&auto=format&n=7AYLLS7Kc1n_BHYT&q=85&s=062b96aa386a4d74e41aea9d63a7d99e" alt="Payglue Analytics" width="1242" height="967" data-path="images/payglue-analytics.png" />
</Frame>

You cannot edit or delete mappings directly from this view. To change a mapping, open the Buy Button, Paywall, or Pricing Table item it belongs to and update the settings there.
