# Setup

## Step 1: Creating a Printful Private token

* Go to the [Printful Developers](https://developers.printful.com/login) site and sign in with your account.
* Create a private token.

<figure><img src="https://3213183904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYEDPrGtuajMM2jtubY4%2Fuploads%2Fjn6Nsl2kVd1bAbpH6kBC%2FCleanShot%202023-10-03%20at%2015.11.33%402x.png?alt=media&#x26;token=51afd404-250c-4f92-ae7c-61aedd446fc1" alt="" width="342"><figcaption></figcaption></figure>

* Configure your token details as you see fit. The name and contact email, and expiration date are up to you.
* Access level
  * Choose **A single store**.
  * Select the store you'd like to sync with your Sesame Labs store.
* Scopes
  * Select all scopes except for the ones pertaining to webhooks

<figure><img src="https://3213183904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYEDPrGtuajMM2jtubY4%2Fuploads%2FPa3YqKEslFyCaqI01F39%2FCleanShot%202023-10-04%20at%2008.42.47%402x.png?alt=media&#x26;token=1a238b13-3f02-47e3-a1f9-e27301f1a772" alt=""><figcaption><p>Select the scopes shown here.</p></figcaption></figure>

* Click **Create new token**
* Copy your access key

<figure><img src="https://3213183904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYEDPrGtuajMM2jtubY4%2Fuploads%2FhxFPKBg2dFP8lVuZ3hw1%2FCleanShot%202023-10-03%20at%2015.20.14%402x.png?alt=media&#x26;token=00455b7b-9ef8-4070-ab49-5578a4bc3dc5" alt=""><figcaption><p>After your private token is created, copy it here. You will only be able to view this token once on Printful's developer portal.</p></figcaption></figure>

## Step 2: Add your Private token to your Sesame Labs account

* Log into your Sesame Labs admin page and click on **Settings** in the left-hand nav bar.
* Click on **Integrations** in the quick links panel, or scroll down until you see the **Integrations** section.
* Click **Connect** next to the Printful integration.

<figure><img src="https://3213183904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYEDPrGtuajMM2jtubY4%2Fuploads%2FNo7QCfsh0zkoIxO6Of1I%2FCleanShot%202023-10-04%20at%2008.44.05%402x.png?alt=media&#x26;token=a1dffb34-3cbb-440b-8b9c-bcf092a28d2c" alt=""><figcaption></figcaption></figure>

* Paste your private token into the input field and click **Connect**.

<figure><img src="https://3213183904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYEDPrGtuajMM2jtubY4%2Fuploads%2FZIeHuqXYX13BahaGEvq0%2FCleanShot%202023-10-03%20at%2015.33.06%402x.png?alt=media&#x26;token=42626541-6799-45ac-82a5-70551aa347b7" alt=""><figcaption></figcaption></figure>

[Sign-up for Community Hub today](https://sesamelabs.xyz/sign-up/?utm_source=docs\&utm_medium=gitbook\&utm_campaign=web2shift)

## Troubleshooting

If you previously created an API key via Printful's Settings -> API page, you **cannot** use this key to integrate with Sesame Labs. You must go to the [Printful Developers](https://developers.printful.com/login) site and create a Private token. Refer to the steps above for instructions.
