Enrollment methods

Wazuh supports two methods for enrolling Wazuh agents. Both methods configure the Wazuh agent to request or receive a client key and use it to connect to the Wazuh manager. For Wazuh 5.0 agents, we recommend enrolling with an enrollment token instead. See Deployment variables.

  1. Enrollment through agent configuration: Configure the IP address or fully qualified domain name (FQDN) of the Wazuh manager on the Wazuh agent. The Wazuh agent requests the client key from the Wazuh manager and imports it automatically. This is the recommended method of these two for Wazuh 4.x agents.

  2. Enrollment through the Wazuh manager API: Request the client key from the Wazuh manager API and import it manually on the Wazuh agent.