HostWebhook connects to your Shopify store through an app you make yourself, in Shopify's Dev Dashboard. You create it once, install it on your store and paste two values into HostWebhook. HostWebhook asks Shopify for an access token with them and asks again by itself before it expires, so there's no sign-in screen to come back to.
The app and the store must belong to the same Shopify organization.
This way of connecting only works for stores of your own organization. Make the app with the account that owns the store.
Open the Dev Dashboard
In your Shopify admin, click your store name at the bottom left, then the </> icon next to your organization's name. You can also go straight to dev.shopify.com.
- Marker 1: Your store name, at the bottom left of the admin.
- Marker 2: The </> icon opens the Dev Dashboard of your organization.
Create the app with the scopes
In Apps, click Create app and choose Create app manually.
- Marker 1: Create app.
- Marker 2: Create app manually: the Dev Dashboard's own form. You don't need Shopify CLI or any code.
Fill in the form:
- App name: one you'll recognize, like HostWebhook. Only you see it.
- URLs: leave them as they come. HostWebhook doesn't open inside Shopify, so it doesn't use the App URL or Embed app in Shopify admin, and it needs no redirection URL.
- Scopes: paste this list. It's what the Shopify nodes and triggers use.
read_orders,write_orders,read_customers,write_customers,read_products,write_products,read_inventory,write_inventory,write_draft_orders,write_merchant_managed_fulfillment_orders,write_third_party_fulfillment_orders,read_locations
Then click Create app.
- Marker 1: App name.
- Marker 2: The URLs: leave them as they come.
- Marker 3: Scopes: paste the list above.
- Marker 4: Create app.
Shopify asks you to release the app's first version. Click Release.
- Marker 1: Release makes this version, with its scopes, the one that gets installed.
In HostWebhook, Copy scopes under How it works copies the same list.
Install the app on your store
On the app's page, click Install app on the Installs card. Choose your store, then click Install.
Is your store in another organization?
Make the app from that store's admin instead (step 01). The app and the store have to be in the same organization.
In a Shopify Partner organization, the button says Test app
In a Partner organization, the Installs card says Test app instead, and it only installs on development stores. It opens a new tab with your stores: choose one, then click Install. These two screenshots are from a Partner organization.
- Marker 1: Test app, on the Installs card of a Partner organization.
- Marker 1: The development store to install it on.
- Marker 1: The store the app is installed on. It has to be the one you'll connect.
- Marker 2: The permissions are the scopes of the version you released.
- Marker 3: Install.
Copy the Client ID and Client secret
In the Dev Dashboard, open the app's Settings. Under Credentials, copy the Client ID and the Client secret. The app's page shows them too, in its Credentials card. Keep the secret private.
- Marker 1: Client ID: copy it with the button on its right.
- Marker 2: Client secret: its copy button copies it without showing it on screen.
Create the Shopify credential in HostWebhook
In HostWebhook, click Settings in the left sidebar, then Credentials, and start a new credential. Choose Shopify and give it a name. You can also start it from the credential picker of any Shopify node or trigger.
- Marker 1: How it works: open it for the same steps in short, and Copy scopes.
- Marker 2: Store domain: your permanent domain, like
acme.myshopify.com. Not a custom domain. - Marker 3: Client ID and Client secret, from the app's Settings.
- Marker 4: Connect checks them with Shopify right away.
Click Connect. HostWebhook checks the values with Shopify before saving, so a wrong secret or a missing install shows up now, not in a flow. The secret is encrypted and never shown again.
One credential is one store. To work with another store, create another credential, with an app installed on that store.
Add a scope later
OptionalIf a Shopify node says it's missing a permission, add the scope in the Dev Dashboard: create a new version with it and click Release. Shopify doesn't add it to your store by itself, so approve the new scopes in your Shopify admin.
Then open the credential in HostWebhook, click Reconnect and paste the Client secret again, so HostWebhook uses the new scopes right away.
Customer data
A node fails saying the app isn't approved for customer data, or a trigger's events come without customer names, emails or addresses? In the app's Settings, under Access requests, click Manage next to Protected customer data, select the customer data and the fields your flows use, and save.
If it doesn't connect
HostWebhook shows what Shopify answered. The most common messages:
| Message | What to do |
|---|---|
| This app and this store aren't in the same Shopify organization. | Make the app with the account that owns the store (step 01). |
| Shopify did not accept that Client ID and Client Secret. | Copy them again from the app's Settings (step 04). |
| Shopify refused the test query (HTTP …). The app may be missing a scope, or not be installed on this store. | Check that the version with the scopes is released (step 02) and installed on this store (step 03). |
| Shopify did not accept the access token it just gave, or the one that was pasted. | Install the app on this store (step 03). |
| That isn't a store domain like acme.myshopify.com. | Use the permanent .myshopify.com domain, not a custom one. |
| Shopify stopped accepting this app. (on the credential, later) | Shopify refused the secret when HostWebhook asked for a new token, for example because the secret was changed. Open Reconnect and paste the current Client secret. |