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

# Shopify

# **PRÉPARATION**

1. Identifiez le nom technique de votre "boutique" sur Shopify

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-1.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=d87a3989e63bc4af074a4dd52e30a345" alt="" width="1276" height="1394" data-path="images/help/shopify/shopify-fr-1.png" />

# CONNEXION

**Étape 1:** Choisissez un nom pour votre connexion (informatif).

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-2.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=1777a2d3b84ecfb63b997ede94467801" alt="image.png" width="966" height="192" data-path="images/help/shopify/shopify-fr-2.png" />

**Étape 2:** Saisissez le nom technique de votre magsin, trouvé précédemment dans votre compte.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-3.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=b11052249401e7e9e69e685d69ef5373" alt="image.png" width="976" height="188" data-path="images/help/shopify/shopify-fr-3.png" />

**Étape 3** : (**Optionnel**) Entrez le Client ID / Secret de votre application. Si l'on vous le demande, veuillez vous rendre à la section "**Configuration - application personnalisée**" ci-dessous dans ce guide. Sinon, continuez à **étape 4a.**

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-4.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=0eee34df31c22c7e885c799edf874d60" alt="image.png" width="974" height="316" data-path="images/help/shopify/shopify-fr-4.png" />

**Étape 4a:** Cliquez sur "Autoriser" pour finaliser la connexion.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-5.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=2495c6196b152ba16b50c1b2ffda535c" alt="image.png" width="246" height="120" data-path="images/help/shopify/shopify-fr-5.png" />

**Étape 5a:** Choisissez votre boutique Shopify à connecter

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-6.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=3a72e11c8d3327397946b569c7c10a36" alt="" width="1600" height="1153" data-path="images/help/shopify/shopify-fr-6.png" />

**Étape 6a:** Installez l'application de votre partenaire que vous souhaitez connecter à Shopify.

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-7.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=c48f2c7d9bed9c5f3a088a6997d0a29c" alt="" width="1600" height="768" data-path="images/help/shopify/shopify-fr-7.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-8.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=6165aa4b797214c16d3c8497fe4d17b9" alt="" width="1600" height="613" data-path="images/help/shopify/shopify-fr-8.png" />

### Configuration - application personnalisée

Procédez à ces étapes uniquement si on vous demande un identifiant client et un secret client (client id / secret).

**Étape 4b :** Accédez au tableau/dashboard de développement ([https://dev.shopify.com/dashboard](https://dev.shopify.com/dashboard)) et suivez les étapes décrites dans cet article pour activer et créer une application personnalisée :

* [https://shopify.dev/docs/apps/build/dev-dashboard/create-apps-using-dev-dashboard](https://shopify.dev/docs/apps/build/dev-dashboard/create-apps-using-dev-dashboard)

  * Les scopes suivantes sont nécessaires :

    * read\_orders
    * read\_all\_orders (si vous devez récupérer des commandes datant de plus de 60 jours). Notez que si vous créez l'application en tant que partenaire du commerçant, vous devrez obtenir un accès supplémentaire via le dashboard du partenaire, consultez la documentation : [https://shopify.dev/docs/api/usage/access-scopes#orders-permissions](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions). Une fois cela fait, vous pourrez voir "read\_all\_orders" dans les scopes disponibles (rafraîchissez la page si nécessaire)
    * read\_returns
    * read\_discounts
    * read\_products
    * read\_customers
  * L'URL de redirection est la suivante "**[https://chift.app/oauth2/redirect](https://chift.app/oauth2/redirect)**".
* Vous n'avez pas besoin d'installer l'application.

Voici quelques captures d'écran illustrant les étapes :

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-9.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=5212b32edab1ab7cd0b2fd327cce67b0" alt="image.png" width="1600" height="503" data-path="images/help/shopify/shopify-fr-9.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-10.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=b0ffdb2f4c52539a6d4438104b6b291f" alt="image.png" width="1600" height="344" data-path="images/help/shopify/shopify-fr-10.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-11.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=62e9a0360a8554e3a28a1181fc371b73" alt="image.png" width="1582" height="1538" data-path="images/help/shopify/shopify-fr-11.png" />

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-12.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=83c29a190be69301ced652c3e34e7a80" alt="image.png" width="1570" height="1550" data-path="images/help/shopify/shopify-fr-12.png" />

**Étape 5b :** Cliquez sur "Settings" dans le menu de gauche. Copiez le "Client id" / "Secret"

<img src="https://mintcdn.com/chift/5FvfVbGwKHoQNfh9/images/help/shopify/shopify-fr-13.png?fit=max&auto=format&n=5FvfVbGwKHoQNfh9&q=85&s=3b3e0cd964b2af020f781d265609e126" alt="image.png" width="1600" height="569" data-path="images/help/shopify/shopify-fr-13.png" />

**Étape 6b :** Collez le client id / secret dans les champs correspondants et cliquez sur "Autoriser". Vous serez redirigé(e) et invité(e) à installer l'application. Veuillez approuver pour terminer l'installation.
