The document proposes using an artificial bee colony (ABC) algorithm to form clusters in a wireless sensor network (WSN) in order to minimize energy consumption. The ABC algorithm is applied to select cluster heads that are uniformly distributed, unlike in the popular LEACH protocol. Simulation results show the proposed WSNCABC approach extends network lifetime compared to LEACH and direct communication by balancing energy usage across nodes.