> ## 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 Generate your Postscript API Key

> Create a security key pair in Postscript and paste its private key into the Postscript destination in Upstack Data.

> [!TIP]
>
> * Sign in to [Postscript](https://app.postscript.io).
> * In the side menu, click your shop name, then click **API**.
> * Click **Create Security Key Pair**, then click **Yes**.
> * Click **Show** in the **Private Key** column and copy the key.
> * Paste it into **Private API Key** on the Postscript destination in Upstack.

## Which Postscript key does Upstack need?

The **Private Key** from a security key pair. It starts with `sk_`. Don't use the **Public Key**.

## How do I create the Postscript API key?

1. Sign in to [Postscript](https://app.postscript.io).
2. In the side menu, click your shop name, then click **API**. You can also open [app.postscript.io/account/api](https://app.postscript.io/account/api).
3. Click **Create Security Key Pair**, then click **Yes**.
4. In the **Private Key** column, click **Show** and copy the key.

Source: Postscript's [API authentication guide](https://developers.postscript.io/docs/api-authentication).

## How do I add the key to Upstack?

1. In Upstack, open **Destinations**.
2. Open your **Postscript** destination, or click **New Destination**, then click **Connect** next to **Postscript**.
3. Paste the key into **Private API Key**, with no spaces before or after it.
4. Click **Create Destination**, or **Save Changes** on an existing destination.

Full walkthrough: [How to Configure Postscript Destination in Upstack Data](https://docs.upstackdata.com/destinations/catalog/postscript/how-to-configure-postscript-destination-in-upstack-data.md)

## Can I use the key if my Postscript plan has no custom API access?

No. Postscript lets you create the key, but refuses events sent with it. Postscript gives custom API access only to Enterprise plans and some older plans ([Postscript: who has API access](https://developers.postscript.io/docs/who-has-access-to-the-partner-api)). Ask Postscript to turn it on.


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