Configuring the Connection to Teamcenter X

Last modified: January 8, 2026

Prerequisites

Before setting up the connection to Teamcenter X, you must get some information from your Teamcenter representative:

  • OIDC configuration information

    • Mendix app client ID
    • Mendix app secret
  • SAM Auth information

    • Token Exchange Client ID
    • Token Exchange Client Secret
    • Token end point
    • Teamcenter X Client ID
  • Teamcenter X environment information

    • Teamcenter Host URL
    • Teamcenter FMS URL

Configuring the Mendix OIDC Module

To allow users of your Mendix app to log on via Single Sign-On (SSO), you must set up the OIDC module. Ensure that the Mendix OIDC module and its dependent modules are added to your Mendix app.

  1. Install the following dependent modules from the Mendix Marketplace:

    • Community Commons
    • Nanoflow Commons
    • Mx Model Reflection
    • User Commons
    • OIDC Module
  2. In Mendix, navigate to App Users and assign admin and user roles to their respective equivalents.

  3. Set the constant Encryption.EncryptionKey with a random 32-character string.

  4. Setup Mx Model Reflection and synchronize all module entities and microflows.
    For more information, see the Mx Model Reflection documentation. Setup SAMAuth registration in the configuration folder of the OIDC module by setting the following constants.

FieldDescription
Client AliasA custom name for the client.
Client IdThe ID for the Mendix app registered with SamAuth.
Client SecretThe secret key for the Mendix app registered with SamAuth.
AutomaticConfigurationURLThe well-known config URL that provides metadata for the SamAuth configuration.
For example, https://samauth.us-east-1.sws.siemens.com/.well-known/openid-configuration.
SelectedScopeThe scope for openid and sam_account.
Multiple values can be separated by a space.

Configuring the Mendix OIDC Module with your Mendix App

To allow users of your Mendix app to log on via Single Sign-On (SSO), you must set up the OIDC module.

  1. Assign admin and user roles to their respective equivalents.
  2. Give the admin and user roles access to the following elements in the OIDC module:
    ElementElement name
    MicroflowDS_GetClientConfigurationList
    GetAuthorizationURL
    NanoflowACT_StartWebSignIn
    DS_GetReturnURL
    DS_StartWebLogin
    EntitiesClientConfig
    ClientConfig_Ext
    PagesLogin_Web_Button

Connecting the Teamcenter Connector to Teamcenter X

To connect Teamcenter Connector for Mendix with Teamcenter X, you must specify the connection details in the Teamcenter Environment Configuration page.

  1. Run your project. The browser displays the AdminHomePage.
  2. Click TEAMCENTER CONFIGURATIONS.
  3. Click New in the Teamcenter Environment Configuration page.
  4. Within Add Teamcenter Configuration, set the Is TcX Environment option to Yes and complete the fields with the information you received from your Siemens representative.
  5. Click Save.