Integration with the Android Management API service allows you to manage Android devices to a limited extent without the need to install an additional application in the form of the Base Agent.
In order to configure integration with AMAPI, the Android Management API option must be activated in the user settings in the à Android tab
After pressing the "Edit integration settings" button, a new configuration window will appear (containing steps).
First step is to create a project on the Google Cloud page. To do so, click the "Google Cloud project creation" button. You will be redirected to Google Cloud page where you will need to log in or create new Google account.
After logging in to your Google account, a page will open where you can create a new project
After creating the project, expand the navigation menu (1.), select the IAM & Admin tab (2.) and then Service Accounts (3.).
Click “Create Service Account”.
Then give your new account a name and click "Create and continue".
In the next step create Roles:
- Android Management User
- Pub/Sub Admin
In the last step enter email address used for that project and click Done
After creating the account, expand the menu on the right and go to "Manage Details".
Copy the email address assigned to the account.
Then go to the IAM tab> Permissions and click Add. Paste the copied address in the appropriate place and assign appropriate roles to the account (Android Management User, Pub / Sub Admin). Save changes.
In the next step, you must activate services from the APIs & Services menu.
In the search field enter in sequence:
Android Management API and Cloud Pub / Sub API.
After searching the indicated services, click Enable.
Then, we have to return to the Service Accounts menu.
From the Actions menu next to the project entry select Manage keys.
Then we select: Add key à Create new key,
and we choose the json format.
The certificate in json format will be automatically generated. Upload the generated file in the appropriate place in the FAMOC console and click Next.
Then click "Authorize the enterprise"
We will be redirected to the Google Cloud portal where we have to log in with the previously used account. In the next step, you need to enter any company name, then do not provide any data, select the check box at the bottom of the window and finish the authorizations.