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.
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.
Open https://admin.shopify.com/ and sign in with the administrator account of the store. Use the store you want to connect to Logzi.
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.
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.
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.
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.
On the Create an app form that opens, fill in the following:
Logzi integration. You can choose it freely; you will see the app under this name in the Shopify admin.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.
On the app page, open Settings in the left-hand menu. In the Credentials block you find two details:
Note both down in a safe place (for example a password manager), because you will have to enter them in Logzi in step 11.
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:
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).
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.
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).
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.
On the Settings tab, fill in the following fields:
.myshopify.com address of your store without the protocol (https://), for example shopifyname.myshopify.com.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.
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.
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.
The details to enter in the Shopify Dev Dashboard:
| Field / Element | Required | Description |
|---|---|---|
| App name | The name of the app in Shopify, for example "Logzi integration". It can be changed later. | |
| Scopes | The permissions of the app (see the table below). You can select them by clicking Select from list. | |
| Client ID | The 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 secret | The 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 data | Permission 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:
| Permission | What does Logzi use it for? |
|---|---|
read_orders | Downloading orders from the webshop. |
read_products | Reading products and their variants (item number, price). |
write_products | Creating and updating product data in Shopify (product synchronisation). |
read_inventory | Querying Shopify stock. |
write_inventory | Sending the Logzi stock to Shopify (stock synchronisation). |
read_locations | Querying Shopify locations; stock is tied to locations. |
read_customers | Reading customer data in order to create the partner belonging to the order. |
read_payment_notifications | Reading the payment notifications belonging to the orders. |
The fields to fill in in Logzi:
| Field / Element | Required | Description |
|---|---|---|
| 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. |
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.
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!
Create your account now,
pay later!