# Using Shopify API credentials

**URL:** <https://community.n8n.io/t/using-shopify-api-credentials/15282>\
**Category:** Questions\
**Tags:** node\
**Created:** [June 28, 2022, 9:29pm UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282 "2022-06-28T21:29:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RomHav](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@RomHav](https://community.n8n.io/u/RomHav)\
**Post date:** [June 28, 2022, 9:29pm UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/1 "2022-06-28T21:29:02Z")

</div>

Hi everyone,

Just trying to set up my Shopify account in a node, and [the documentation](https://docs.n8n.io/integrations/credentials/shopify/) seems to be somewhat outdated.

Here’s what I have on the Shopify side:

 ![Capture d’écran 2022-06-28 à 23.21.29](https://europe1.discourse-cdn.com/n8n/original/2X/5/50fe4ae330f1c4ac709584be5ef7c42725a51cf8.png)

When I fill in the fields in n8n’s interface, I get an error message:

```auto
{
"message": "401 - {"errors":"[API] Invalid API key or access token (unrecognized login or wrong password)"}",
"name": "Error",
"stack": "Error: Request failed with status code 401 at createError (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/createError.js:16:15) at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:17:12) at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:269:11) at IncomingMessage.emit (node:events:539:35) at IncomingMessage.emit (node:domain:475:12) at endReadableNT (node:internal/streams/readable:1345:12) at processTicksAndRejections (node:internal/process/task_queues:83:21)"
}

```

I am new here and not a dev, and can’t find why it doesn’t work. If anyone has some tips, that’d be helpful!

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [June 29, 2022, 9:10am UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/2 "2022-06-29T09:10:08Z")

</div>

Hey @RomHav,

Welcome to the community 🎉

I remember seeing something a while back tha Shopify have removed support for Private Apps, We do have a fix ready for this that is being tested but has not yet been released. Sadly at the moment the only thing I can think of would be to manually build out the requests using the HTTP Request node which is not ideal.

---

<div class="post-metadata">

**Author:** ![RomHav](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@RomHav](https://community.n8n.io/u/RomHav)\
**Post date:** [June 29, 2022, 9:55am UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/3 "2022-06-29T09:55:29Z")

</div>

Hi @Jon!

Duly noted, thanks a lot! 👍

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [June 29, 2022, 9:58am UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/4 "2022-06-29T09:58:47Z")

</div>

No problem at all, I have popped a note on the internal ticket we have to nudge it along a bit.

---

<div class="post-metadata">

**Author:** ![napter](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/napter/32/16124_2.png) [@napter](https://community.n8n.io/u/napter)\
**Post date:** [August 17, 2022, 6:43am UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/5 "2022-08-17T06:43:32Z")

</div>

While they did remove private apps, you can still authenticate with an API key. However, it now uses a special header to send the key rather than the old api key and password method: [Access tokens for custom apps in the Shopify admin](https://shopify.dev/apps/auth/admin-app-access-tokens)

Is it possible to create a custom authentication for an existing integration like shopify, while still making use of all the APIs that are coded? That would seem easier than coding the entire thing in an http request. I would just have to tell the shopify integration to pass the X-Shopify-Access-Token and then it should be usable.

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [August 17, 2022, 8:59am UTC](https://community.n8n.io/t/using-shopify-api-credentials/15282/6 "2022-08-17T08:59:06Z")

</div>

Hey @napter,

Welcome to the community 🎉

In the Shopify node if you select the Access Token option it should use the `X-Shopify-Access-Token` header, This looks to have been released in 0.187.0 last month if you do not see it as an option it could be worth an update… If you are using Desktop though this change is not currently available but will be in the next release.
