in order for the API to work, you’ll need to define cxapi. You can do this by:

using CloudyApi; 

now that you have done that, continue to the next step: UserAgent