# Shopify

#### Setting Up a Shopify Partner Account

**Sign Up or Log In**: If you haven’t already, go to the [Shopify Partners page](https://partners.shopify.com) and sign up for an account. If you have an account, just log in.

#### Create a New App

**Create a New App**: Once logged in, navigate to the "Apps" section using the dashboard menu. Click on "Create app" to get started, select the "Create app manually"

<figure><img src="/files/28AqgfwnA7fMxX9t7NhX" alt=""><figcaption></figcaption></figure>

Note the `clientId` and `clientSecret`. Next, click on the "Choose distribution"

<figure><img src="/files/aiAJkhD81MfbFflJZvKc" alt=""><figcaption></figcaption></figure>

Select the "Public distribution" option

<figure><img src="/files/hltfCf19jAQgFJbXyDV4" alt=""><figcaption></figcaption></figure>

Go to the "Configuration" section from the main menu

* set the Redirect URI to `https://[YOUR_API_BASE]/auth/twitter/callback`, for example `https://api.appmixer.com/auth/titter/callback`
* event version to the latest (2024-01)
* Embed app in Shopify admin: `false`
* set the compliance webhooks (it's required for the submission)
  * Customer data request endpoint: `https://[YOUR_API_BASE]/plugins/appmixer/shopify/customers/data_request`
  * Customer data erasure endpoint: `https://[YOUR_API_BASE]/plugins/appmixer/shopify/customers/redact`
  * Shop data erasure endpoint: `https://[YOUR_API_BASE]/plugins/appmixer/shopify/shop/redact`
*

![](/files/fRtkvbN4UhAkMVwcdiXN)

Go to the "API Access" section from the main menu. In the "Access requests" request access for the "Protected customer data access" Fill details in the "Select your data use and reasons" section:

<figure><img src="/files/TfOpLgYK4LBMDeKTkbkH" alt=""><figcaption></figcaption></figure>

Fill the form in the "Provide your data protection details" section:

<figure><img src="/files/DmFLs8BnvJESxrrJIgIC" alt=""><figcaption></figcaption></figure>

#### Configuration in the Backoffice

* Configure the App Key as `clientId` and the App Secret as `clientSecret` in the service settings within the Backoffice, under the configuration ID `appmixer:shopify`. Also, add the `appStoreInstallRedirectUri` pointing to your instance, for example `https://my.master-hamster-87765.appmixer.cloud/`
* To learn more about configuring connectors, please visit the [Connector Configuration](https://docs.appmixer.com/appmixer/getting-started/services) section.

**Please note that only a 'developer' shop instance can be authenticated with your OAuth application unless your app is verified. 'Production' shop instances cannot authenticate with an unverified app. This guide does not cover all the requirements for the app verification process.**


---

# 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.appmixer.com/connector-configuration/shopify.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.
