# Shopify Partner

When you're setting up your first workflow with Shopify Partner, you will need to create a [Connection](https://docs.getmesa.com/going-further/credentials) in order to connect MESA with your Shopify Partner account.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FbMj0NMCxaxHeA37Krgjs%2Fimage.png?alt=media&#x26;token=1eb5553f-e22f-4af2-8ead-39bbc7361623" alt=""><figcaption></figcaption></figure>

First, go to the Shopify Partner dashboard <https://partners.shopify.com/> and then click into Settings.

In the Account information section, copy your Partner ID and paste it in the Organization ID field of your Shopify Partner step in MESA.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FX6LjidMGae5ppezr2KMb%2Fimage.png?alt=media&#x26;token=14f80781-1d28-44b0-8b08-9f215c724fc6" alt=""><figcaption></figcaption></figure>

Then, scroll down to the Partner API clients section in your Partner Settings and click on the Manage Partner API Clients button.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FYllXxhc4LN3tDC0Oze82%2Fimage.png?alt=media&#x26;token=d58f213a-116f-4bd5-b6cb-055384b54f18" alt=""><figcaption></figcaption></figure>

Then, click the Create API Client button, enter MESA for the name, add all permissions, and save your changes.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FG6UIRoeSXCahBJxjViT4%2Fimage.png?alt=media&#x26;token=7dfb04dd-5991-4305-84d4-8be1eac8f88f" alt=""><figcaption></figcaption></figure>

Click into your newly created API client, copy the Access Token, and paste it in the Access Token field of the Shopify Partner step in MESA.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2F7a29bZh0XyCDH7XqCaOV%2Fimage.png?alt=media&#x26;token=ab2ae554-8670-41a9-925c-258754555f5f" alt=""><figcaption></figcaption></figure>

Click the Add connection button to complete your connection with Shopify Partner.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FRAE3F7lOt4ihBLxCA8FP%2Fimage.png?alt=media&#x26;token=eb8b6b9c-de4b-46d4-be78-14bc65d5080b" alt=""><figcaption></figcaption></figure>


---

# 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.getmesa.com/connect/shopify-partner.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.
