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

# How to Configure Postscript Destination in Upstack Data

> Add the Postscript destination in Upstack Data: enter your Private API Key and check that Postscript receives your events.

> [!TIP]
>
> * In Upstack, open **Destinations**, click **New Destination**, then click **Connect** next to **Postscript**.
> * Paste your Postscript private key into **Private API Key**.
> * Click **Create Destination**.
> * In Postscript, build flows on the events that end in `_upstack`.

## What do I need before I add the Postscript destination?

A Postscript plan with custom API access, and a Private API Key from Postscript. See [How to Generate your Postscript API Key](https://docs.upstackdata.com/destinations/catalog/postscript/how-to-generate-your-postscript-api-key.md).

## How do I add the Postscript destination?

1. Sign in to [Upstack Data](https://app.upstackdata.com) and open **Destinations**.
2. Click **New Destination**.
3. Under **Available**, find **Postscript** and click **Connect**.
4. In **Private API Key**, paste the private key from Postscript.
5. Click **Create Destination**.

## How do I check the Postscript destination is working?

1. On your store, sign in or enter the email or phone number of a Postscript subscriber, then view a product.
2. In Upstack, open **Events Debugger** and check for **Postscript Server Event Tracked**.
3. In Postscript, open the Flow Builder, add a trigger, and check for `[Your Shop] - viewed_product_upstack`.

| What you see | What it means |
| - | - |
| **Events Debugger** shows **Postscript Server Event Tracked** | Postscript received the event. |
| **Events Debugger** shows **Postscript Server Event Track Failed** | Postscript refused the event. Check that your Postscript plan includes custom API access and that **Private API Key** holds the private key, not the public key. |
| **Events Debugger** shows no Postscript events | Upstack didn't match the shopper to a Postscript subscriber, or your plan doesn't include custom API access. See [Which shoppers does Upstack send events for?](https://docs.upstackdata.com/destinations/catalog/postscript.md#which-shoppers-does-upstack-send-events-for) |
| The trigger isn't in the Flow Builder | Postscript hasn't received that event yet. Repeat step 1 for that event. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.