ThingWorx Server
Prerequisites
Make sure that the 8.5 version of the ThingWorx server is installed and running, preferably on a separate computer, before installing Analytics components.
* 
If you plan to access ThingWorx Analytics from a FactoryTalk Analytics DataFlowML pipeline, installation of the ThingWorx server is optional.
Before beginning installation of Analytics components, log into ThingWorx Composer, as an Administrator, (the front end user interface for ThingWorx) and create an Application Key. For information about this process, see Application Keys in the ThingWorx Help Center.
* 
The Application Key you provide during installation of Analytics components must be a key assigned to a user with Administrator privileges. After installation, the Application Key can be reassigned to a non-administrator user who has the appropriate permissions. See ThingWorx Application Key Permission Levels.
The same key can be used for both Analytics Server and Platform Analytics.
If you are installing the Analytics Server and you plan to include installation of the Analytics Extension, a set of Extension import permissions must be enabled in the platform-settings.json file. These permissions might already have been enabled during ThingWorx installation and configuration. However, without the following minimum parameters, the Analytics Server installation will not be able to import Analytics Extension into ThingWorx:

{
"PlatformSettingsConfig": {
...
"ExtensionPackageImportPolicy": {
"importEnabled": true,
"allowEntities": true,
"allowExtensibleEntities": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowCSSResources": true
}
...
}
For information about configuring parameters in the platform-settings.json file, see Configure the platform-settings.json File or platform-setting.json Configuration Details in the ThingWorx Help Center.
ThingWorx Application Key Permission Levels
A ThingWorx Application Key must be provided during the ThingWorx Analytics installation. This Application Key must be created in ThingWorx Composer before you start the ThingWorx Analytics installation. In addition, that Application Key must be created by a user with Administrative permissions in ThingWorx.
However, after the ThingWorx Analytics installation is complete, you can enable permissions so that the Application Key used for running ThingWorx Analytics components can be reassigned to a non-administrator user. To enable these permissions for a non-administrator user, follow the steps below to add the user to the necessary User Groups and reassign the Application Key:
1. Log into ThingWorx Composer as an Administrator.
2. If the non-administrator user has not been created yet, navigate to SECURITY > Users and create the non-administrator user.
3. Navigate to SECURITY > User Groups and add the user to the following User Groups:
TW_AnalyticServer_Users
TW.AnalyticsManager.Admin
4. Navigate to SECURITY > Application Keys and open the key you want to reassign to the non-administrator user.
5. In the User Name Reference field, select the non-administrator user and Save the reassigned Application Key.
Was this helpful?