Register Machine to Machine Application

Perform the following steps to register a Machine to Machine Application:
  1. On the Management Console, select the
    Applications
    tab.
    The
    Applications Listing
    page is displayed.
    Applications Tab
  2. Click the Add icon.
    Add Icon
    The
    Applications Detail
    page is displayed.
    Applications Detail
  3. 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 Application Name. By default,
    FactoryTalk DataMosaix SaaS
    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.
  4. Select Machine to Machine Application type.
  5. Provide a description for the application.
  6. From the
    Associated Roles
    drop-down list, select at least one role. You can refer to various roles and capabilities by clicking
    Role Reference
    .
    NOTE:
    The Associated Roles drop-down is visible and available only:
    • For Project Admin users or users within the Organization with a Project Admin role assigned.
    • When you select the application type as Machine to Machine.
    When you do not have the Project Admin role and register a Machine to Machine application, the application will be automatically assigned the default
    Applications
    role.
    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 the
    Select All
    check box.
  7. Click
    Save and Create Credentials
    to register the application.
    The
    Credentials and other info
    dialog box displays the client secret information.
    Machine to Machine Application Credentials
    Credentials Dialog Box Parameters
    Project Name
    Unique identifier for the project
    Hostname
    Domain name of the server hosting the application
    Host
    Base location where the application is deployed
    Cluster
    Group of servers where the application is managed
    Application Type
    Specifies whether the application is a Single Page Application (SPA) or Machine-to-Machine (M2M) integration
    Token-url
    Endpoint URL used to obtain OAuth authentication tokens
    Client ID
    Unique identifier for the application registered with OAuth
    Client Secret
    Confidential key used by the application to authenticate with OAuth
    NOTE:
    It is important to copy and save the credentials in a file immediately for future use. Once you close the
    Credentials and other info
    dialog 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 SaaS
    .
  8. Click
    Copy All
    .
    • Open a text file, paste the client secret, and save the file.
  9. Click
    Close and Go to Listing
    .
    The new application displays under
    Application Listing
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal