There is evidence of beekeeping in pottery in Africa and Western Asia from 9,000 years ago. We know that the Egyptians kept bees more than forty-five hundred years ago. Early Holocene rock art from 14,000 years ago depicts harvesting honey. Chances are just as soon as people began to build structures to live in, honeybees moved into those structures along side us. If we were already harvesting honey, then we no doubt let them build their hive and were soon providing structures for the bees. However aside from providing structures for the bees and harvesting the honey, probably very little was done.What information do we have as to when and where bees were first domesticated?
Beekeeping as we know it, managing a hive with harvestable sections, didn't happen until the 18th century.
Here is the Wikipedia article on beekeeping.
I suggest that you click on the footnotes. Footnote 2 had a quote from an Egyptian record that tells about a woman named Senchons needing to move her beehives, suggesting that migratory beekeeping was happening by the third century BCE.
edit: add link to footnote 2 since footnote numbering can change. http://reshafim.org.il/ad/egypt/timelines/topics/beekeeping.htm