Defining Owner with Gateway
To operate the gateway and end nodes from a mobile app, you need to specify a Kii Cloud user as the owner of those things. See Thing owner for the overview.
The way to specify a user as the owner is the same as that in the scenario with stand-alone things. See Defining an Owner to learn how to implement the owner.
Kii recommends that you assign the same user as the owner of the gateway and end nodes for easy management even though different users can become owners.