> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/shopify-partner.md).

# Shopify Partner

When you're setting up your first workflow with Shopify Partner, you will need to create a [Connection](/going-further/credentials.md) 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&amp;token=1eb5553f-e22f-4af2-8ead-39bbc7361623" alt="Screenshot of the MESA Shopify Partner step Connection menu where you create a Connection to link MESA with your Shopify Partner account. Spotlight the Connection setup area."><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&amp;token=14f80781-1d28-44b0-8b08-9f215c724fc6" alt="Screenshot of the Shopify Partner dashboard Settings page Account information section, copy your Partner ID for the MESA Organization ID field. Spotlight the Partner ID under Account information."><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&amp;token=d58f213a-116f-4bd5-b6cb-055384b54f18" alt="Screenshot of the Shopify Partner Settings page, scroll to the Partner API clients section. Spotlight the Manage Partner API Clients button."><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&amp;token=7dfb04dd-5991-4305-84d4-8be1eac8f88f" alt="Screenshot of the Shopify Partner API clients page creating a new API client named MESA with all permissions added. Spotlight the Create API Client button."><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&amp;token=ab2ae554-8670-41a9-925c-258754555f5f" alt="Screenshot of the newly created Shopify Partner API client details, copy the Access Token for the MESA Access Token field. Spotlight the Access Token value."><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&amp;token=eb8b6b9c-de4b-46d4-be78-14bc65d5080b" alt="Screenshot of the MESA Shopify Partner step Connection menu with the Organization ID and Access Token filled in. Spotlight the Add connection button."><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getmesa.com/connect/shopify-partner.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
