diff --git a/source/_templates/cloud/notes.rst b/source/_templates/cloud/notes.rst
new file mode 100644
index 0000000000..6e1d3957f4
--- /dev/null
+++ b/source/_templates/cloud/notes.rst
@@ -0,0 +1,7 @@
+.. Copyright (C) 2015 Wazuh, Inc.
+
+You can configure the integration with |service| either in the Wazuh manager or in a Wazuh agent. This choice depends solely on how you access your |service| infrastructure in your environment.
+
+You only need to install dependencies when configuring the integration with |service| in a Wazuh agent. The Wazuh manager already includes all the necessary dependencies.
+
+.. End of include file
diff --git a/source/_templates/cloud/pip_installation.rst b/source/_templates/cloud/pip_installation.rst
new file mode 100644
index 0000000000..8b3312e40e
--- /dev/null
+++ b/source/_templates/cloud/pip_installation.rst
@@ -0,0 +1,43 @@
+.. Copyright (C) 2015 Wazuh, Inc.
+
+You can install the required modules with Pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories.
+
+.. tabs::
+
+ .. group-tab:: Yum
+
+ .. code-block:: console
+
+ # yum update && yum install python3-pip
+
+ .. group-tab:: APT
+
+ .. code-block:: console
+
+ # apt-get update && apt-get install python3-pip
+
+We recommend using Pip 19.3 or later to simplify the installation of the dependencies.
+
+.. tabs::
+
+ .. group-tab:: Python 3.8–3.10
+
+ .. code-block:: console
+
+ # pip3 install --upgrade pip
+
+ .. group-tab:: Python 3.11
+
+ .. code-block:: console
+
+ # pip3 install --upgrade pip --break-system-packages
+
+
+ .. note::
+
+ This command modifies the default externally managed Python environment. See the `PEP 668 `__ description for more information.
+
+ To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the shebang of the |module_script| Python script with the interpreter in your virtual environment. For example, ``#!/path/to/your/virtual/environment/bin/python3``.
+
+
+.. End of include file
diff --git a/source/_templates/cloud/python_installation.rst b/source/_templates/cloud/python_installation.rst
new file mode 100644
index 0000000000..72046a7b63
--- /dev/null
+++ b/source/_templates/cloud/python_installation.rst
@@ -0,0 +1,20 @@
+.. Copyright (C) 2015 Wazuh, Inc.
+
+The |service| module requires `Python 3 `__. Specifically, it's compatible with Python |py_cloud_cont_min|–|py_cloud_cont_max|. While later Python versions should work as well, we can't assure they are compatible.
+
+.. tabs::
+
+ .. group-tab:: Yum
+
+ .. code-block:: console
+
+ # yum update && yum install python3
+
+ .. group-tab:: APT
+
+ .. code-block:: console
+
+ # apt-get update && apt-get install python3
+
+
+.. End of include file
diff --git a/source/cloud-security/amazon/services/prerequisites/dependencies.rst b/source/cloud-security/amazon/services/prerequisites/dependencies.rst
index 423db022fc..e429f4d822 100644
--- a/source/cloud-security/amazon/services/prerequisites/dependencies.rst
+++ b/source/cloud-security/amazon/services/prerequisites/dependencies.rst
@@ -8,72 +8,21 @@
Installing dependencies
=======================
-.. note::
- The integration with AWS S3 can be configured in the Wazuh manager (which also behaves as an agent) or directly in a Wazuh agent. This choice merely depends on how you decide to access your AWS infrastructure in your environment.
-
-.. warning::
- The Wazuh manager includes all dependencies installed, these steps are only necessary when configuring the integration in a Wazuh agent.
+.. |service| replace:: AWS
+.. include:: /_templates/cloud/notes.rst
Python
------
-The AWS module requires `Python 3 `__. Specifically, it's compatible with
-`Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| `_. While later Python versions should work as well, we can't assure they are compatible.
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
-
- # yum update && yum install python3
-
- .. group-tab:: APT
-
- .. code-block:: console
-
- # apt-get update && apt-get install python3
-
-
-The required modules can be installed with Pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories:
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
-
- # yum update && yum install python3-pip
-
- .. group-tab:: APT
-
- .. code-block:: console
-
- # apt-get update && apt-get install python3-pip
-
-It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.
-
-.. tabs::
-
- .. group-tab:: Python 3.8–3.10
-
- .. code-block:: console
-
- # pip3 install --upgrade pip
-
- .. group-tab:: Python 3.11
-
- .. code-block:: console
-
- # pip3 install --upgrade pip --break-system-packages
-
- .. note::
+.. |py_cloud_cont_min| replace:: |PYTHON_CLOUD_CONTAINERS_MIN|
+.. |py_cloud_cont_max| replace:: |PYTHON_CLOUD_CONTAINERS_MAX|
- This command modifies the default externally managed Python environment. See the `PEP 668 `__ description for more information.
+.. include:: /_templates/cloud/python_installation.rst
- To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the ``aws-s3`` script shebang with your virtual environment interpreter, for example, ``#!/path/to/your/virtual/environment/bin/python3``.
+.. |module_script| replace:: ``/var/ossec/wodles/aws/aws-s3``
+.. include:: /_templates/cloud/pip_installation.rst
.. _boto-3:
diff --git a/source/cloud-security/azure/activity-services/prerequisites/dependencies.rst b/source/cloud-security/azure/activity-services/prerequisites/dependencies.rst
index 8bb89350e5..dddc32651e 100644
--- a/source/cloud-security/azure/activity-services/prerequisites/dependencies.rst
+++ b/source/cloud-security/azure/activity-services/prerequisites/dependencies.rst
@@ -6,73 +6,21 @@
Installing dependencies
=======================
-.. note::
-
- The Azure monitoring module can be configured in the Wazuh manager (which also behaves as an agent) or directly in a Wazuh agent.
-
-.. warning::
- The Wazuh manager includes all dependencies installed, these steps are only necessary when configuring the integration in a Wazuh agent.
+.. |service| replace:: Azure
+.. include:: /_templates/cloud/notes.rst
Python
------
-The Azure module requires `Python 3 `__. Specifically, it's compatible with
-`Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| `_. While later Python versions should work as well, we can't assure they are compatible.
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
-
- # yum update && yum install python3
-
- .. group-tab:: APT
-
- .. code-block:: console
-
- # apt-get update && apt-get install python3
-
-
-The required modules can be installed with Pip, the Python package manager. Most of UNIX distributions have this tool available in their software repositories:
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
-
- # yum update && yum install python3-pip
-
- .. group-tab:: APT
-
- .. code-block:: console
-
- # apt-get update && apt-get install python3-pip
+.. |py_cloud_cont_min| replace:: |PYTHON_CLOUD_CONTAINERS_MIN|
+.. |py_cloud_cont_max| replace:: |PYTHON_CLOUD_CONTAINERS_MAX|
+.. include:: /_templates/cloud/python_installation.rst
-It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.
+.. |module_script| replace:: ``/var/ossec/wodles/azure/azure-logs``
-.. tabs::
-
- .. group-tab:: Python 3.8–3.10
-
- .. code-block:: console
-
- # pip3 install --upgrade pip
-
- .. group-tab:: Python 3.11
-
- .. code-block:: console
-
- # pip3 install --upgrade pip --break-system-packages
-
- .. note::
-
- This command modifies the default externally managed Python environment. See the `PEP 668 `__ description for more information.
-
- To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the ``azure-logs`` script shebang with your virtual environment interpreter, for example, ``#!/path/to/your/virtual/environment/bin/python3``.
+.. include:: /_templates/cloud/pip_installation.rst
Azure Storage client library for Python
---------------------------------------
diff --git a/source/cloud-security/gcp/prerequisites/dependencies.rst b/source/cloud-security/gcp/prerequisites/dependencies.rst
index 2f5e57a3f8..e61ccc4185 100644
--- a/source/cloud-security/gcp/prerequisites/dependencies.rst
+++ b/source/cloud-security/gcp/prerequisites/dependencies.rst
@@ -5,73 +5,21 @@
Installing dependencies
=======================
-The Wazuh module for Google Cloud Pub/Sub and the Wazuh module for Google Cloud Storage buckets can be configured on both the Wazuh server and the monitored endpoint. This choice depends on where you want to reach the Google Cloud services. Perform the steps below to install Python and Pip on the endpoint you are performing the integration.
+.. |service| replace:: GCP
-.. warning::
-
- The Wazuh server includes all dependencies installed; the following steps are only necessary when configuring the modules on a monitored endpoint.
+.. include:: /_templates/cloud/notes.rst
Python
------
-The Wazuh module for Google Cloud Pub/Sub and the Wazuh module for Google Cloud Storage buckets require `Python 3 `__. It's compatible with
-`Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| `_. While later Python versions should work as well, we can't assure they are compatible.
-
-Run the following command to install Python 3 if you do not already have it installed:
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
-
- $ sudo yum update && yum install python3
-
- .. group-tab:: APT
-
- .. code-block:: console
-
- $ sudo apt-get update && apt-get install python3
-
-Run the command below to install Pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories by default.
-
-Perform the next steps if you do not already have it installed.
-
-.. tabs::
-
- .. group-tab:: Yum
-
- .. code-block:: console
+.. |py_cloud_cont_min| replace:: |PYTHON_CLOUD_CONTAINERS_MIN|
+.. |py_cloud_cont_max| replace:: |PYTHON_CLOUD_CONTAINERS_MAX|
- $ sudo yum update && yum install python3-pip
+.. include:: /_templates/cloud/python_installation.rst
- .. group-tab:: APT
+.. |module_script| replace:: ``/var/ossec/wodles/gcloud/gcloud``
- .. code-block:: console
-
- $ sudo apt-get update && apt-get install python3-pip
-
-If you already have Python3 and Pip installed, perform the following steps to upgrade your Pip version. We recommend using a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.
-
-.. tabs::
-
- .. group-tab:: Python 3.8–3.10
-
- .. code-block:: console
-
- $ sudo pip3 install --upgrade pip
-
- .. group-tab:: Python 3.11
-
- .. code-block:: console
-
- $ sudo pip3 install --upgrade pip --break-system-packages
-
- .. note::
-
- This command modifies the default externally managed Python environment. See the `PEP 668 `__ description for more information.
-
- To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the gcloud ``var/ossec/wodles/gcloud/gcloud`` module shebang with your virtual environment interpreter. For example: ``#!/bin/python3``.
+.. include:: /_templates/cloud/pip_installation.rst
Google Cloud pip dependencies
-----------------------------