> For the complete documentation index, see [llms.txt](https://help.littledata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.littledata.io/integrations/shopify-to-pinterest/installation.md).

# Shopify to Pinterest installation guide

Follow these steps to connect your Shopify store to Pinterest with Littledata. You'll copy three values from Pinterest Ads Manager and paste them into the Littledata app.

### Before you start

* Access to the Littledata app for your Shopify store.
* A Pinterest Business account with admin access to the ad account that owns the Pinterest tag you want to use.
* Permission to manage apps in your Shopify admin, so you can turn off other Pinterest tracking.

### Connect Pinterest in the Littledata app

{% stepper %}
{% step %}

#### Add the destination

In the Littledata app, click **Add destination**. A list of destinations opens under **Available in your plan**.
{% endstep %}

{% step %}

#### Connect Pinterest

Find **Pinterest** in the list and click **Connect**. You'll see the **Connect your store to Pinterest** screen. Click **Continue**.
{% endstep %}

{% step %}

#### Choose your tracking preferences

On **Set up your tracking**, keep **Use best practices** selected (it has a **Recommended** badge) and click **Continue**.

If you choose **Customize your tracking** instead, you'll first pick a product identifier and the events to send, clicking **Continue** after each screen.
{% endstep %}

{% step %}

#### Open the Connect your Pinterest tag screen

You'll now see **Connect your Pinterest tag** with three fields: **Account ID**, **Tag ID** and **Conversion access token**. Keep this tab open and open Pinterest Ads Manager in a new tab.
{% endstep %}
{% endstepper %}

### Copy your keys from Pinterest

{% stepper %}
{% step %}

#### Check you're in the right ad account

In Pinterest Ads Manager, look at the account switcher at the top right. Make sure the ad account that owns your Pinterest tag is selected. Your account ID and tag ID must both come from this ad account.
{% endstep %}

{% step %}

#### Open Conversions

Click the menu icon at the top left. Under **Manage business**, click **Conversions**.

The left menu shows **Events overview**, **Event quality**, **Test events**, **Pinterest Tag**, **Conversions API** and **Conversion upload**.
{% endstep %}

{% step %}

#### Generate a conversion access token

In the left menu, under **Conversions API**, click **Set up API**. The **Set up Conversions API** page opens.

You don't need the **Setup guide** card at the top (**Open setup guide**). Go to the **Generate conversion access token** card below it and click the red **Generate new token** button.

<figure><img src="https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-0f1123e386bdc1e9f8dd2f84b1250ad36494f0f6%2Fhc-pinterest-setup-api.png?alt=media" alt=""><figcaption></figcaption></figure>

Copy the whole token right away, including `pina_` at the start. Pinterest doesn't store the token, so you can't view it again later.

Paste it into **Conversion access token** in the Littledata app.

{% hint style="warning" %}
Don't create an app on developers.pinterest.com to get a token. That gives a different kind of token, which won't work here.
{% endhint %}
{% endstep %}

{% step %}

#### Copy your account ID

On the same card, the text reads "This token will be generated for" followed by your account name and, in brackets, your ad account ID. Copy that number, for example `549755885175`. It's also the number after `/advertiser/` in your browser's address bar.

Paste it into **Account ID** in the Littledata app.
{% endstep %}

{% step %}

#### Copy your tag ID

In the left menu, under **Pinterest Tag**, click **Tag manager**. In the table, look under **Tag name**. Your tag ID is the number in brackets after the tag name, for example "Pinterest Tag (2612583504435)". Copy just the number.

<figure><img src="https://3956158252-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1QhTbrMraNWciQeDvu1b%2Fuploads%2Fgit-blob-9e27d4a16dfdc21a0ff688ed140b4de824099c6a%2Fhc-pinterest-tag-id.png?alt=media" alt=""><figcaption></figcaption></figure>

If you have more than one tag, use the one installed on this store.

Paste it into **Tag ID** in the Littledata app, then click **Continue**.

{% hint style="info" %}
If you see an error in the Littledata app, check that there are no spaces before or after the value you pasted.
{% endhint %}
{% endstep %}
{% endstepper %}

### Turn off duplicate tracking

{% stepper %}
{% step %}

#### Disconnect the Pinterest sales channel

On the **Disable other tracking apps** screen (marked **Action required**), click the **Pinterest Sales Channel** link. It opens the Pinterest app in your Shopify admin. Open its **Settings** and, under **Account**, disconnect your current Pinterest account.

{% hint style="warning" %}
Disconnecting the Pinterest app stops its product catalog sync, and uninstalling the app deletes inactive catalogs by default. Set up another catalog feed before you do this so your Pinterest product feed isn't disrupted.
{% endhint %}
{% endstep %}

{% step %}

#### Turn off other Pinterest tracking

If another app sends Pinterest events from your store, uninstall it or turn off its Pinterest tracking feature. Check that app's own help docs for how.

Also check **Settings** > **Customer events** in your Shopify admin for a custom pixel with Pinterest code, and remove any Pinterest tag code (`pintrk`) added to your theme by hand.
{% endstep %}

{% step %}

#### Confirm and continue

Back in the Littledata app, tick **I have disabled all other tracking apps** and click **Continue**.
{% endstep %}

{% step %}

#### Finish the connection

You'll see **Adding tracking** while Littledata applies its tracking to your Pinterest tag. When it's done, you'll see **You're connected! Here's where to go next.** Click **Skip to dashboard** to go back to the main page, or **Explore the event editor** to see the events you're sending.

{% hint style="info" %}
If you leave before the end, the Pinterest card shows **Pending setup**. Click **Continue** on the card to pick up where you left off.
{% endhint %}
{% endstep %}
{% endstepper %}

### Check that it works

* In the Littledata app, the Pinterest card shows a green **Connected** badge.
* To change your keys later, find the Pinterest card, click the **⋯** menu on its card and choose **Settings**.
* In Pinterest Ads Manager, open **Conversions** > **Events overview** and click the **Conversions API** tab. New events (for example **Checkout**) should appear after people browse and buy on your store. This can take a few hours.

### Related articles

* [Pinterest](https://help.littledata.io/integrations/shopify-to-pinterest)
* [How the Pinterest connection works](https://help.littledata.io/integrations/shopify-to-pinterest/how-it-works)
