Add a module to your tenant

This getting started guide will provide a Postman collection for you to make some example REST-like requests to your Digital Twin Registry tenant.

For authentication of your Postman application at your Digital Twin Registry client, we stick to OAuth and use the Client Credentials Grantexternallink 20 type flow.

That means, you first need to set up a client with credentials, an ID and a client secret, that will then be used by your Postman application to get an access token at your Digital Twin Registry tenant.

To set up such a client, that is, to Create a module, use the Access Management portal.

Log in to the Access Management portal

Adding your tenant ID instead of <your-tenant-id>, log in to the Access Management portal via the following link:

https://portal.bosch-nexeed.com?tenant=<your-tenant-id>

Tenant ID: At this point we assume that you have completed the steps at Request free access to an environment and already received a valid tenant ID as well as a user with full permission on this tenant.

About the Access Management portal

The Access Management portal is a separate user interface which you will only need to visit for:

  • Creating client access (for Postman)

  • For optional further management of users, roles, etc. (for example, to invite additional developers to your tenant)

Note that the Access Management portal includes some configurations for the Nexeed Industrial Application system. However, in the context of Bosch Semantic Stack, the only relevant section for you is the Access Management section.

In case you need assistance, please address support.semantic-stack@bosch.com instead of the contact found in the Access Management portal.

Users

The portal lists all users who are allowed to see the tenant.

Click on your user name to see the roles which have been granted to your user by default in the process of creating your tenant.

your user

Roles

Roles can be assigned to users, groups, and modules. After authentication, the roles are resolved and grant you the permission respectively.

Find a detailed description of all roles at Concepts > Authorization.

Modules

The term "module" is just a generic title for all types of technical clients. So, all services which need access to your Digital Twin Registry tenant are regarded as modules.

As the admin of the tenant, you need to create such a module to enable Postman to query your Digital Twin Registry tenant.

Create a module

To set up a client so that an application such as Postman can access your Digital Twin Registry tenant, create a module in the Access Management portal.

Prerequisite: You are logged in to the Access Management portal. For further guidance, see Log in to the Access Management portal.

  1. Navigate to Access Management > Modules.

  2. Click the Add Module button portal add button.
    The Add a module dialog opens.

  3. Fill the required fields.

    1. Details: Provide a name and a display name for your module and set the client secret.
      The client ID is generated automatically and will be displayed at the end of this dialog.

      While the names for Module Name and Module Display Name can be identical, they must be unique on your tenant. You cannot have two different modules sharing the same name.
      add module 1

      Continue with Next.

    2. User login: Not needed throughout this getting started guide, so disable it. That also disables all other options for this dialog part.

      add module 2

      Continue with Next.

    3. Summary: Displays the settings and gives you the possibility to go back to potentially change the entries.

      add module 3

      Continue with Save.

    4. Client Credentials: Copy the Client ID and Client Secret to your key storage application and handle with care.

      The client secret will never be visible again.

      For this getting started guide, you will need the client credentials when setting up Postman to work with the provided Postman collections.

  4. Click Close to save and finish.

You now have created a module. The next step is to add roles to your module.

Add roles to your module

Prerequisite: You have already created a module as described in Create a module.

  1. Click the new module you have just created.
    The Details tab is displayed.

  2. Click the tab Assigned Roles.
    By default, the tab is empty; no roles are assigned yet.

  3. Click the Assign Role button portal add button.
    The Select Role dialog opens.

  4. Select the roles available for the following domains:

    • Digital Twin System

    • Digital Twin System Catalog

    • Digital Twin System Shared Settings

  5. Confirm with Assign.

    add roles

Your client now has the required roles to request the Digital Twin Registry and the Aspect Model Catalog on your tenant.

a module with roles

You are now ready to Explore digital twins.