You can extend aidbox with Apps. App can work with one box or many boxes. App is a REST service, which talks with Aidbox through simple REST protocol. App can work with one box or many boxes. Protocol details are abstracted by SDK.
First of all App should register itself in box.
For single box app has credentials to specific box:
At app start it sends init message to box with his endpoint url and app secret
Box sends init message to app with box coordinates (box url, client_id, client_secret), in response App upload Manifest into box
App registered by hands in aidbox with specific client id and secret as well app secret
When app started it sends init message into aidbox init uri
Aidbox check for which boxes this app is registered
For each box it calls "Single box app: phase 2".