Enrollment methods
This section describes the two methods available for enrolling Wazuh agents. It guides in configuring the necessary settings to ensure a successful connection of the Wazuh agent to the Wazuh server.
Enrollment via agent configuration: Once the IP address or FQDN (Fully Qualified Domain Name) of the Wazuh server has been set, the Wazuh agent can request the client key and import it automatically. This is the recommended enrollment method.
Enrollment via Wazuh server API: The user requests the client key from the Wazuh server API and then manually imports it to the Wazuh agent.