Register Application
FactoryTalk DataMosaix allows you to register applications and generate credentials. The registered applications can be used to visualize data from FactoryTalk DataMosaix.
You can register an application as a Single Page Application or a Machine-to-Machine Application.
You can use a Single Page Application when you have the application URL (callback URL) which can be used to redirect. A client secret is not generated in case of a Single Page Application.
In case you want to generate a token, use the machine-to-machine option. While registering a machine-to-machine application, a client secret is generated. Using the client ID and client secret, you can generate a token to establish the connection using Auth0.
The following table provides information which application type to choose for configuring visualization application with FactoryTalk DataMosaix:
Single Page Application | Machine to Machine |
|
|
- On the Management Console, select theApplicationstab.TheApplications Listingpage is displayed.
- Click the Add icon.TheApplications Detailpage is displayed.
- Provide a unique name for your application. The Application Name works as the identifier for your application. You can search for an application with the App Name. By default, FactoryTalk DataMosaix generates an application name.Application Name example: APP_1206230756_createproject_v1.Here, APP stands for application, 120623 is the date in ddmmyy format, 0756 is the timestamp in hhmm format, and createproject_v1 is the project in which you are currently working. You can use the default App Name or create your own.
- Select the appropriate application type. If you select the Single Page Application type, you must provide the application URL (callback URL).NOTE: For registering Power BI based Single Page Applications use https://oauth.powerbi.com/views/oauthredirect.html as the application URL (callback URL).In case of a Machine to Machine application you do not need to provide the URL. While generating credentials you will get a client ID and client secret to generate token.
- Provide a description for the application.
- From theAssociated Rolesdrop-down list, select at least one role. You can refer to various roles and capabilities by clickingRole Reference.NOTE:The Associated Roles drop-down is visible and available only:
- Project Admin users or users within the Organization with a Project Admin role assigned.
- When you select the application type as Machine to Machine.
You can select multiple roles from the Associated Roles drop-down list. In the search bar, you can search for any specific role from the list. If you want to apply all the roles to the application, select theSelect Allcheck box. - ClickSave and Create Credentialsto register the application.TheCredentials and other infodialog box displays the client secret information.In case of a Single Page Application, you get the following response.In case of a Machine to Machine application, you get the following response.NOTE:It is important to copy and save the credentials in a file immediately for future use. Once you close theCredentials and other infodialog box, this information cannot be viewed later. If you fail to save the client secret information, you will have to regenerate the secret.Copy the credentials and insert them in the application for it to connect to FactoryTalk DataMosaix.
- ClickCopy All.
- Open a text file, paste the client secret, and save the file.
- ClickClose and Go to Listing.The new application displays under Application Listing.
Provide Feedback