# Chargement dans Magento

Vous pouvez déployer Sirdata CMP sur votre site Magento.

**Méthode A - Depuis la marketplace Magento**

**1)** **Récupérez et installez** le plugin Sirdata CMP : <https://commercemarketplace.adobe.com/sirdata-cmp-sirdata.html>

**2) Votre extension est désormais installée** et accessible à partir du menu de navigation de gauche dans votre back-office Magento 2 : Content > SirdataCMP

<figure><img src="/files/Yasg9XDKFzzB6zDPOb4M" alt="" width="375"><figcaption></figcaption></figure>

**3) Déployer votre CMP** : créez votre compte Sirdata CMP depuis le plugin ou configurez votre plugin

Et voila votre Sirdata CMP est installée sur votre site Magento !

**Méthode B - Directement depuis Magento :**

#### **1) T**éléchargez le plugin

{% file src="/files/Nf6q4jyStU50yyFBGD7t" %}

**2) Extrayez les fichiers du package:** Décompressez le fichier ZIP que vous avez téléchargé.

**3) Transférez les fichiers** du plugin vers votre serveur Magento: Utilisez un client FTP pour vous connecter à votre serveur Magento et transférer les fichiers extraits dans un nouveau répertoire "SirdataCmp". L'emplacement exact peut varier selon le plugin, mais il se trouve généralement dans `app/code`.

**4) Exécutez les commandes d'installation :** Dans la ligne de commande (à l'aide de la commande « cd »), accédez au répertoire racine de Magento 2, les commandes suivantes dans l'ordre :

`php bin/magento module:status`\
`php bin/magento module:enable SirdataCMP_Sirdata`\
`php bin/magento setup:upgrade`\
`php bin/magento setup:di:compile`\
`php bin/magento setup:static-content:deploy`

**5) Nettoyez le cache :** une fois l'installation terminée, videz le cache de Magento pour que les modifications prennent effet en vous connectant sur le back-office Magento et naviguant dans Système > Cache Management > Videz le cache

**6) Votre extension est désormais installée** et accessible à partir du menu de navigation de gauche dans votre back-office Magento 2 : Content > SirdataCMP

<figure><img src="/files/Yasg9XDKFzzB6zDPOb4M" alt="" width="375"><figcaption></figcaption></figure>

**7) Déployer votre CMP** : créez votre compte Sirdata CMP depuis le plugin ou configurez votre plugin

<figure><img src="/files/r9mobmgQm2BgOaj8Ncct" alt=""><figcaption></figcaption></figure>

Et voila votre Sirdata CMP est installée sur votre site Magento !


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cmp.docs.sirdata.net/install-1/dans-un-cms/chargement-dans-magento.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
