# 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="/files/GKUGjkM7Ci4FcmzRDmSb" 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="/files/GWzSLBm5GEKGEXTpNxd2" alt=""><figcaption><p>Select the scopes shown here.</p></figcaption></figure>

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

<figure><img src="/files/yi5CiVFIhjYwISFZSQSV" 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="/files/yTuoWV5eV8FKLMi3DV6l" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/uYEgDmntMkixlAhhgEkp" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sesamelabs.xyz/product-guides/integrations/printful/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
