# Shopify

Shopify offers developers to integrate Shopify's functionality into custom apps outside of the official website. This can be used to allow access to Shopify's API through the iMBrace platform.

## Account integration using Apps <a href="#id-2lbuayylzbk9" id="id-2lbuayylzbk9"></a>

To begin, you will need:

* A Shopify account with an associated online storefront.

**STEP 1:** In the bottom-left corner, go to **\[Settings]**.

**STEP 2:** In the left side-bar, go to **\[Apps and sales channels]**.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fosswnsfye2Ezgjh0Oder%2F2?alt=media)

**STEP 3:** Go to **\[Develop apps for your store] > \[Allow custom app development]**.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F5VtrFSpRu9lQ10YOGaM3%2F3?alt=media)

**STEP 4:** Once enabled, create a new app and enter the necessary information in the dialog box that appears.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FjhIGGQnhWfnY1t3AVHDq%2F4?alt=media)

**STEP 5:** Go to **\[Configuration] > \[Admin API integration]**. Select the relevant access scopes for use with the iMBrace platform.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FlbZITBA0vJ800b4u5Zbx%2F5?alt=media)

**STEP 6:** In the top-right corner, click on **\[Install App]** to generate access tokens.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FjVI0Skuz9FG8I7LBIKMh%2F6?alt=media)

**STEP 7:** You will then be able to view your **API key**, **secret key** and **access token** for your Shopify app.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2FNfOHsWNW0nQV5dNMkE4F%2F7?alt=media)

**STEP 8:** Identify the **subdomain** of your Shopify storefront. This is the part of the URL before the “**.myshopify.com**” (in the example below, it is “f337c7”).

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2F0UlXzscwpkiFfQEI49oK%2F8?alt=media)

**STEP 9:** In iMBrace, create a new credential of type **Shopify API** and enter the API key and shop subdomain. Enter the secret key into the **Shared Secret** field and the access token into the **Password** field. Then click **\[Submit]**.

![](https://3400071099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FypCKq44Psaly6khgrY7x%2Fuploads%2Fzw9QzuOS8ScO7wJ0swxu%2F9?alt=media)

**DONE:** The credential can then be used with Shopify nodes.


---

# 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://imbrace.gitbook.io/imbrace-documentation/integrations/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.
