connectport X4H - send zigbee data to device cloud

Dear Sir/Madam,
I had tried using the “XBee to Device Cloud” python code from digi.wiki to forward my ZigBee API packets received at the connectport X4H Gateway to Device Cloud, but seem like it not working, is there any other problem if I use on X4H ZB Gateway? Or is there any other examples that I can tried? Thank a lot for your help.
Best regards,
Mike

I recommend installing the Digi ESP Development Environment software:

http://www.digi.com/support/productdetail?pid=3632&type=drivers

It provides several examples and an easy graphical development interface.