Connect to yeelight bulb from mi home gateway ?

Hi
I bought a yeelight RGB bulb and i want to connect to it from internet like mi home app did this !
How can i connect to my bulb through mi home app connection from internet programmatically (not local network)?

Once your bulb is connected to internet via your local network, you will be able to connect it and control it from anywhere.

with mi home app!
but i want to use it with my program and yeelight api .

Currently, we only open API for local network control.

That’s to too bad :pensive:
This is a grate feature if add it to API .
Thanks about fast reply.