To enable API, log in to ChainEX and click on Profile. 

Next, click on Settings.

Once Settings has expanded, go all the way down until you see API key settings and click on the Enable/Disable switch. 

Once you have enabled the API, you can generate your API private and public key by clicking on generate.