> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify (API Key)

> Access the Shopify API in 2 minutes 💨

> [tab] 🚀 Quickstart
>
> > [!WARNING]
> >
> > Starting January 1, 2026, you can no longer create legacy custom apps. We recommend using [Shopify (OAuth)](https://nango.dev/docs/api-integrations/shopify.md) instead. This won't impact any existing apps.
>
> **1. Create an integration**
>
> In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Shopify API Key*.
>
> **2. Authorize Shopify (API Key)**
>
> Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your Shopify (API Key) credentials. Later, you'll let your users do the same directly from your app.
>
> **3. Call the Shopify API**
>
> Let's make your first request to the Shopify API (fetch a list of customers). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):
>
> > [tab] cURL
> >
> > ```bash theme={null}
> > curl "https://api.nango.dev/proxy/admin/api/2025-01/customers.json?limit=10" \
> >   -H "Authorization: Bearer <NANGO-API-KEY>" \
> >   -H "Provider-Config-Key: <INTEGRATION-ID>" \
> >   -H "Connection-Id: <CONNECTION-ID>"
> > ```
>
> > [tab] Node
> >
> > Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
> >
> > ```typescript theme={null}
> > import { Nango } from '@nangohq/node';
> >
> > const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
> >
> > const res = await nango.get({
> >     endpoint: '/admin/api/2025-01/customers.json',
> >     params: {
> >       limit: 10
> >     },
> >     providerConfigKey: '<INTEGRATION-ID>',
> >     connectionId: '<CONNECTION-ID>'
> > });
> >
> > console.log(JSON.stringify(res.data, null, 2));
> > ```
>
> Or fetch credentials dynamically via the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).
>
> ✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.
>
> > [!TIP]
> >
> > Next step: [Embed the auth flow](https://nango.dev/docs/guides/primitives/auth.md) in your app to let your users connect their Shopify stores.

> [tab] 🔗 Useful links
>
> | Topic | Links |
> | - | - |
> | Authorization | [Guide to connect to Shopify (API Key) using Connect UI](https://nango.dev/docs/integrations/all/shopify-api-key/connect) |
> | General | [Website](https://www.shopify.com/) |
> | Developer | [Generate access tokens for custom apps in the Shopify admin](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/generate-app-access-tokens-admin) |
> | | [Custom apps](https://help.shopify.com/en/manual/apps/app-types/custom-apps) |
>
> > [!NOTE]
> >
> > Contribute useful links by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/shopify-api-key.mdx)

> [tab] 🚨 API gotchas
>
> * Starting January 1, 2026, you can no longer create legacy custom apps. We recommend using [Shopify (OAuth)](https://nango.dev/docs/api-integrations/shopify.md) instead.  This won't impact any existing apps.
>
> * To receive webhooks, set a **Webhook secret** on the integration in the Nango dashboard matching the secret you configure when subscribing the webhook in Shopify. See [How to set up webhooks with Shopify on Nango](https://nango.dev/docs/api-integrations/shopify/webhooks).
>
> > [!NOTE]
> >
> > Contribute API gotchas by [editing this page](https://github.com/nangohq/nango/tree/master/docs/integrations/all/shopify-api-key.mdx)

> [!NOTE]
>
> Questions? Join us in the [Slack community](https://nango.dev/slack).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.