Sustainable farming showed cocoa farmers in Ghana the relationship between conserving forests and improving their livelihoods.