In the environments dashboard, select the New Environment tile. If you are a SCRUM Master of the Mendix app project, you can add test, acceptance, and production environments. If you are not, you can only add Mendix Studio Pro environments. For more detailed information, see the Environments overview documentation.

Choose an environment name.

Click Save and generate API key, then use this key as the value for the APMAgent.APMAPIKey constant in step 10.

Add the USE_ME/AfterStartup microflow to your app’s After startup microflow.

Copy the widget from USE_ME/CopyPasteAPMBrowserWidget to the layout(s) of your app. Please note that it will only be loaded once, regardless of how many times the user opens a page containing the widget.

Set the value of the USE_ME/APMAgent.APMAPIKey constant with the key you generated at step 6.