Depends if you believe in immigration. But depending on how retarded the nation is they will tax cacao production and while the farmers/plantation owners will become filthy rich, the government will ensure that the common people get a little something like how it is done in Qatar, or the UAE, something more than Alaska's thing. Because that will help prevent rebellions or coups. If people are richer they won't be as willing to cause trouble.
Ensure that
the local citizens get a little something.
The richest country in Africa is Equatorial Guinea. 2018 GDP per capita 10 453 US$.
How much does an ordinary citizen of Equatorial Guinea benefit?
Same 2018 nominal GDP per capita:
Cacao exporters:
Ivory Coast - 1680
Ghana - 2206
Oil exporters:
Norway - 81 695 (but does have diversified domestic economy besides oil)
Qatar - 70 780
United Arab Emirates - 40 711
Brunei - 32 414
Kuwait - 30 839
Bahrain - 25 851
Saudi Arabia - 23 566
Oman - 19 302
Note that I said the cacao exports would benefit the citizens of cacao exporting countries.
For example, of the 9,2 million population of United Arab Emirates, just 1,4 millions are Emirati citizens. The remaining 7,8 millions are ex-patriots.
Between Emirates, Saudi Arabia, Kuwait, Qatar, Oman and Bahrain, around 25 million citizens of sundry democratic countries have voted with their feet for absolute monarchy.
Existence of oil in Arabia did not benefit all Arabs - just the specific countries in which oil was found. The Arabs of Yemen or Jordania benefit only indirectly, insofar as they get jobs as expatriates in Gulf states. The Arabs of Syria do not benefit at all because the borders of Gulf countries are slammed in face of refugees - they are not wanted even as cheap labour.
Republic market for cocoa would benefit Ivory Goast and Ghana. Their neighbours in Africa like Liberia, Burkina Faso and Togo are not major producers. So logically, if Ivory Coast and Ghana get rich then the people of neighbouring and still poor African countries would seek menial jobs in cacao plantations and elsewhere in economies of Ivory Coast and Ghana, instead of walking across Sahara to drown in Mediterranean. But I suspect Ivory Coast even if rich would not give the aliens the social benefits Europe does - any more than Saudi Arabia does.
How are remote planets usually tied into interstellar economy of the galaxy far, far away?
Tatooine is not rich. But Tatooine must be exporting
something. Because starships come and go, and stuff not produced locally can be bought at markets. If nothing available at Tatooine was worth a visit, no ship would come and no imports either.
What are the exports of Tatooine?
In contrast, Naboo is rich. There are plasma mines.
But those plasma mines are not of galactic importance. They produce wealth, but when Trade Federation makes a grab at them by open conquest, the initial reaction of Senate is apathy and dismissing it just as a trade dispute. Amidala has to drum up sympathy for Republic to protect a member state. If these plasma mines were of all-galaxy importance, the Trade Federation would be pissing off everyone else as buyers of plasma.
So... if chocolate is valuable, this makes Earth like Naboo not Dune. There are the other 8 planets.
If chocolate is not particularly valuable then Earth is more like Tatooine.