# Authorize Shopify

#### Requirements

* You need to be the Shopify administrator

#### 1. Click on create a new sync

<figure><img src="/files/5a1NsLPwvBAxyAHVuDaM" alt=""><figcaption></figcaption></figure>

#### 2. Click on the Shopify logo

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

#### 3. Create a new Shopify connection

In the following steps, you will log in to your Shopify account to retrieve the following:

* Shop name
* Client ID and Secret<br>

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

#### 4. Find your shop name

You can find your shop name in the settings of your shop on the top left of the page. It is part of your shop domain `<shop_name>.myshopify.com`.

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

#### 5. **Generate Client ID and Client Secret:**

1. **Go to Shopify Dev Dashboard:** [**https://dev.shopify.com/dashboard**](https://dev.shopify.com/dashboard)

2. **Select "Create App"**<br>

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

3. **Enter \`Stacksync\` as the app name**<br>

   <figure><img src="/files/9g2l2PXHqztu9deO3ZXq" alt=""><figcaption></figcaption></figure>

4. **Enable required API scopes for Stacksync.**

   *<mark style="color:$success;">read\_customers,write\_customers,read\_metaobject\_definitions,write\_metaobject\_definitions,read\_metaobjects,write\_metaobjects,read\_orders,write\_orders,read\_products,write\_products,read\_publications,write\_publications,read\_shipping,write\_shipping</mark>*<br>

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

5. **Add Redirect URL:** [**https://app.stacksync.com/oauth/callback?connector=shopify**](https://app.stacksync.com/oauth/callback?connector=shopify)<br>

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

6. **Click Release**

7. **Go to  Apps -> Setting, Copy the Client ID and Secret**<br>

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

8. **You can now fill in the Stacksync form with your Shop name, Client ID and Secret.**

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

You are all set! You can now use sync your Shopify data to other apps through Stacksync's syncs! :tada:


---

# 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.stacksync.com/two-way-sync/connectors/shopify/authorize-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.
