# Add / Update process

**1 -** **Add the extension code to your dev environment**\
Clone / create the repository inside `integration` folder (same as for a theme)

{% content-ref url="create-a-theme-extension" %}
[create-a-theme-extension](https://galaxy-cms.gitbook.io/project/theme-extensions/create-a-theme-extension)
{% endcontent-ref %}

**2 - Add the extension to the backoffice**

As for a theme, go inside "Testeur" tool, choose your extension, and click on the "update" button to add the extension

{% hint style="info" %}
The current design of the Theme Extensions section is not finished in the backoffice, for now it follows the basic listing system. A lot of texts and design will change
{% endhint %}

### Batch install on several websites

If you need an extension to be installed immediately when another one is installed, you can look at Extension dependencies

{% content-ref url="extension-dependencies" %}
[extension-dependencies](https://galaxy-cms.gitbook.io/project/theme-extensions/extension-dependencies)
{% endcontent-ref %}

This works well for new extensions. If the extensions need to be installed on a lot of existing websites, where Extension dependencies would not solve the issue, you can create a ticket to request us to batch install on several websites the extension

To do this, please indicate:

* the **name of the extension** to be added *(if it not yet installed on the platform, the link to the repo also)*
* the **list of websites IDs** where it should be added. *For example 15, 28, 33,53*

{% hint style="info" %}
This section is only available for xo7 admins
{% endhint %}

<details>

<summary>Admin - how to do it</summary>

1. Open the mega menu and click on "Tools"
2. Click on "Galaxy"
3. Click on "Website"
4. Click on "Batch install extensions"
5. Select extension & websites
   1. Choose in the dropdown the extension to install
   2. In the list of website IDs, enter the IDs of websites where the extension should be added. For example 15, 27, 33
6. You will have a confirmation screen which summarize where the extension will be added

</details>
