Creating a Shopify app

How to create a Shopify app in the Dev Dashboard and connect your webshop to Logzi: permissions, Client ID and Client secret, customer data access, installation and setup in Logzi.

Function overview

Logzi communicates with your Shopify webshop through a Shopify app of your own. You create this app once in the Shopify Dev Dashboard and install it on your store. Two details of the app, the Client ID and the Client secret, are what give Logzi access to the store.

This article walks you through the whole process: the setup on the Shopify side and the details you enter in Logzi. The fields of the Logzi extension and the data exchange settings are described in the Installing Shopify article.

  • What is it for? Through the created app, Logzi can download orders (including the customer data) and synchronise stock, prices and products.
  • What do you need? A Shopify store you have administrator access to, and access to Shopify Partners and the Dev Dashboard (you sign in with the same Shopify account).
  • How long does it take? The process has 12 steps and only has to be done once. Afterwards the data is synchronised automatically according to the settings of the Logzi extension.
  • Token handling: You do not have to create or copy an Admin API token manually. Logzi requests it using the Client ID and Client secret, and renews it automatically every 24 hours.
Important: the Client secret only works for a store in the same Shopify organization in which you created the app. Therefore always create the app in the organization the store belongs to.

Step by step

The Shopify interface is in English, so the labels on the Shopify side are shown in bold exactly as they appear there. The screenshots were taken from the Shopify and Logzi interfaces; the Logzi screenshots show the Hungarian interface.

1. Sign in to the Shopify admin

Open https://admin.shopify.com/ and sign in with the administrator account of the store. Use the store you want to connect to Logzi.

Signing in to the Shopify admin
Signing in to the Shopify admin

2. Sign in to Shopify Partners

Open https://partners.shopify.com/ and sign in with the same Shopify account. If Shopify offers the accounts you are already signed in with (Choose an account), select the account of the store owner.

Choosing an account when signing in to Shopify Partners
Choosing an account when signing in to Shopify Partners

3. Open the Dev Dashboard

On the Partners home page, click the Stores menu item in the left-hand menu. Shopify redirects you to https://dev.shopify.com/, the Dev Dashboard, where you see the list of the stores you have access to.

The Shopify Partners home page with the Stores menu item on the left
The Shopify Partners home page with the Stores menu item on the left
The Stores page of the Dev Dashboard with the list of stores
The Stores page of the Dev Dashboard with the list of stores

It is worth noting the .myshopify.com address of your store (in the Name column, under the store name) now: you will need it in Logzi in step 11.

4. Start creating the app

In the left-hand menu, choose Apps. In the top right corner, click the Create app button, then choose Create app manually (Use the Dev Dashboard form instead).

The first item of the menu (Create with Shopify CLI) is intended for developers, requires a command-line tool and is not needed to connect Logzi.

The Create app menu on the Apps page
The Create app menu on the Apps page

5. Enter the app name and the permissions

On the Create an app form that opens, fill in the following:

  • App name: the name of the app, for example Logzi integration. You can choose it freely; you will see the app under this name in the Shopify admin.
  • URLs: there is no need to change the default values of the fields.
  • API access / Scopes: click Select from list and select the following permissions from the list: read_orders, read_products, write_products, read_inventory, write_inventory, read_locations, read_customers, read_payment_notifications.

The form pre-fills the Scopes field with a longer list of permissions. Replace it with the eight permissions above: this is all Logzi needs, and Shopify also recommends that an app requests only the permissions it actually uses. You do not have to change the Webhooks API version either.

Finally, click the Create app button in the top right corner.

The app creation form: name and permissions (Scopes)
The app creation form: name and permissions (Scopes)

6. Copy the Client ID and the Client secret

On the app page, open Settings in the left-hand menu. In the Credentials block you find two details:

  • Client ID: the identifier of the app. You can copy it to the clipboard with the copy button next to it.
  • Client secret: the secret key of the app. It is hidden by default; you can reveal it with the eye icon and copy it to the clipboard with the copy button.

Note both down in a safe place (for example a password manager), because you will have to enter them in Logzi in step 11.

Careful: the Client secret is like a password. Do not send it by e-mail and do not share it in public places. If it has leaked, you can generate a new one with the Rotate button next to it, but you then have to change it in Logzi as well.
The Settings page of the app: Client ID and Client secret
The Settings page of the app: Client ID and Client secret

7. Allow the use of customer data

This step is needed so that Shopify also passes the customer (partner) data of the orders to Logzi. Without the permission, orders would arrive without customer data.

On the same Settings page, scroll down to the Access requests block and click the Manage button next to Protected customer data. On the Protected customer data access page that opens:

  1. In the Level 1: Customer data block, click Select. In the Customer data access window, tick the reason for processing the data (for example App functionality), then click Apply reasons.
  2. In the Level 2 block, for each row of personal data (name, e-mail address, phone number, address) click Select and choose the reason in the same way.
  3. In the Data protection details block, click Review questions and answer Shopify's data protection questions according to the practice of your company. When you have answered every question, close the window with Done.
  4. Finally, click Save in the top right corner.

According to the Development access section, Shopify does not require a separate approval process for an app installed on your own store (only public apps are reviewed).

Access requests: the Manage button of Protected customer data
Access requests: the Manage button of Protected customer data
Customer data access: the reason for processing the data
Customer data access: the reason for processing the data
Data protection details: the data protection questions
Data protection details: the data protection questions

8. Install the app on your store

Go back to the Apps list. At the end of the row of the app you created, click the three dots (…), choose Install app, then select your store and confirm the installation. If it was successful, the value 1 appears in the Installs column of the app.

Installing the app: the Install app item of the three-dot menu
Installing the app: the Install app item of the three-dot menu

9. Sign in to Logzi

Open https://www.logzi.com/login, enter your Logzi ID (in the Logzi ID field, before .logzi.com), then sign in with the continue button (Tovább in the Hungarian screenshot).

Signing in to Logzi
Signing in to Logzi

10. Open the installation of a new extension

Click Main menu / Integrations / Extensions / Install new extension to see the card list of the extensions you can install. Find the Shopify card and click its Install button.

Install new extension: the Shopify card
Install new extension: the Shopify card

11. Enter the Shopify details in Logzi

On the Settings tab, fill in the following fields:

  • API address (URL, website address): the .myshopify.com address of your store without the protocol (https://), for example shopifyname.myshopify.com.
  • Client ID (API kulcs): the Client ID you copied in step 6.
  • Client secret (API titkos kulcs): the Client secret you copied in step 6.

Leave the Legacy Admin API access token field empty: it is only needed for an old-type app (custom app) created in the Shopify admin. The labels Client ID (API kulcs) and Client secret (API titkos kulcs) are shown in Hungarian in every language.

The filled-in Shopify extension form
The filled-in Shopify extension form

12. Save the extension

Click the Save button. Saving also installs the extension: Logzi requests the access token from Shopify and registers the necessary webhooks, so changes in the store automatically reach Logzi. If saving reports an error, you find the exact cause on the Log tab of the extension.

After a successful installation, data is synchronised according to the settings of the Logzi extension. The four areas of the data exchange can be switched on on separate tabs: Orders, Stocks, Prices and Products. To download orders, for example, set the Download orders from the webshop field to Yes on the Orders tab.

Tip


Before you leave the Shopify Dev Dashboard, paste the Client ID and the Client secret directly into the Logzi form, not into an intermediate document. After the first save, switch on order download first, and switch on stock and price synchronisation only after the first test order has arrived. This way it is easier to find the cause if something goes wrong.

You can manage your installed extensions on the Installed extensions page, and follow the events sent on the Extension events page. You find the description of the Logzi fields and of the data exchange settings in the Installing Shopify article.

Field descriptions

The details to enter in the Shopify Dev Dashboard:

Field / ElementRequiredDescription
App nameThe name of the app in Shopify, for example "Logzi integration". It can be changed later.
ScopesThe permissions of the app (see the table below). You can select them by clicking Select from list.
Client IDThe identifier of the app. You find it in the Credentials block of the Settings page; in Logzi it goes into the Client ID (API kulcs) field.
Client secretThe secret key of the app; treat it like a password. You find it in the Credentials block of the Settings page; in Logzi it goes into the Client secret (API titkos kulcs) field.
Protected customer dataPermission to use customer data (reason for processing and data protection questions). Without it, orders arrive without customer data.

The permissions (Scopes) to select and their role:

PermissionWhat does Logzi use it for?
read_ordersDownloading orders from the webshop.
read_productsReading products and their variants (item number, price).
write_productsCreating and updating product data in Shopify (product synchronisation).
read_inventoryQuerying Shopify stock.
write_inventorySending the Logzi stock to Shopify (stock synchronisation).
read_locationsQuerying Shopify locations; stock is tied to locations.
read_customersReading customer data in order to create the partner belonging to the order.
read_payment_notificationsReading the payment notifications belonging to the orders.

The fields to fill in in Logzi:

Field / ElementRequiredDescription
API address (URL, website address)The .myshopify.com address of the store without the protocol, for example shopifyname.myshopify.com.
Client ID (API kulcs)The Client ID of the Shopify app.
Client secret (API titkos kulcs)The Client secret of the Shopify app. It only works for a store in the same Shopify organization as the app.
Legacy Admin API access token (only for old custom apps created in the Shopify admin)Use it only with an old-type app created in the Shopify admin. Leave it empty for an app created in the Dev Dashboard.

Frequently asked questions

Most likely the Protected customer data permission has not been set and saved for the Shopify app. Open the Settings page of the app, click Manage next to Protected customer data, enter the reason for each data type, answer the data protection questions and click Save (see step 7).

Check that the app is installed on the store (the Installs column shows 1), that you created the app in the same Shopify organization as the store, and that you pasted both details exactly, without extra spaces. If the Client secret has been regenerated (Rotate), change it in Logzi as well. You find the exact error message on the Log tab of the extension.

Even then, enter the internal .myshopify.com address of the store (for example shopifyname.myshopify.com) without the protocol. You find this address on the Stores page of the Dev Dashboard, under the store name.

After the permissions are changed, Shopify may ask you to release a new version of the app and to approve the extended permissions in the store. You can do this in the Dev Dashboard, on the Versions page of the app and at the installation of the app. If Logzi still reports an access error afterwards, save the extension again.

Only if you use an old-type app (custom app) created in the Shopify admin with the earlier method. For an app created in the Dev Dashboard, leave the field empty: there Logzi requests and renews the token automatically based on the Client ID and the Client secret.

The appearance of the menu item depends on your permissions. If you do not see it, ask your system administrator to check your permissions. The management of extensions is described in the Install new extension article.

Need personalized help?

Don't want to spend hours searching for a solution? Choose the most efficient way: book a personalized, 45-minute online training session dedicated entirely to you. Whether it's a walkthrough of the basics or a detailed setup of a specific module, our expert colleague will guide you through the whole process, step by step.

Don't waste your time - ask for help!
Our goal is to get you using our system as quickly and efficiently as possible. Whether you're completely new to us or stuck on a specific setting, don't hesitate to ask for help!

Logzi warehouse management software

Get in touch with us

Interested in our software? Feel free to write to us!

Need help?

If you can't find the answer and need assistance

Create your account now,
pay later!

Try it free for 3 days, no risk, no obligation!