Install process
Once you’ve created your app, it’s time to install it. By default we call your app URL with two parameters, like this: https://example.app?action=open&lang=en
actiontells your app that a user has opened it.langtells your app the user’s language.

App consent screen
Section titled “App consent screen”Click the Install button at the top right and you’re taken to the app consent screen. Here we ask the user whether they want to give your app the access (scopes) you requested in the app settings.

In this example, the app requests the rights reservations.get, reservations.list and reservations.add. Click Install to complete the installation.
Install
Section titled “Install”The first time your app loads after installation, we change the action parameter to installed, like this: https://example.app?action=installed&lang=en
You can watch for this action and run an install script in your application.
Other parameters
Section titled “Other parameters”Along with action and lang, we send some extra parameters once the app is installed:
admin_id: the unique identifier of the administration.chain_id:0by default, unless the administration is part of a chain.app_id: the unique identifier of your app.authtoken: used to authenticate your app and give it access to the API. Read more about this in Authentication (OAuth 2.0).
Uninstall
Section titled “Uninstall”When the app is uninstalled, we do the same, with the action parameter set to uninstall: https://example.app?action=uninstall&lang=en