Creating a connection between the Asset Inventory Service and octoplant
In order to create a connection between the Asset Inventory Service and octoplant, you will need to implement the following settings in the AdminClient under Global settings, in the tab Asset Inventory Service:
- In the section Server settings, enter the IP of the CTD server in question.
- In the section Environment variables, select the checkbox Use Environment Variables to start ClarotyConnect.exe.
- In the section Server address, enter the IP of the CTD server in question.
- Click the Retrievebutton to get an access token.
- The dialog Retrieve Web Token will now open.
- Enter your user name and password for the CTD server in the dialog fields and then confirm by clicking on OK.
- The token will be displayed in the field Access token.
Example of a token:
curl -X POST https://10.1.200.101/auth/authenticate --insecure -H "Authorization:Authorization" -H "Content-Type:application/json" -H "Accept:application/json" --data-raw "{"username": "`<Benutzername>`", "password": "`<Passwort"}"{"customer_name":"","first_name":"admin","id":1,"last_name":"","mail":"admin","password_expired":false,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJleHAiOjE2ODE5MzQwOTcsInVzZXJfaWQiOjEsImlzX2FkbWluIjp0cnVlLCJwYXNzd29yZF9leHBpcmVkIjpmYWxzZX0.paDQ4SCiBWOziuQufWpaQj8RlkJki1-gZ9I79W4Kvb2L1DwAVhW5-3AkMP8u72EqNaT_UkMkCYP569N0p7oBcqCKgcGikWBtOQZvg56SNPI_AMRUVQyAzrcC99e3gEEGmSdl9Pi0gq5g47pJ8cdilLudaZWRTyzt48RyTlr_Vg4Ds5OYslL7KutarieE9gyCKnEPnf4U0TpeiVuSI33R9H8wICREqMMNNYgocuO3wcI2G1GBzBeHcrpestPQw9zcUobejv_IDo9993woBZv_9-Rh9Xkp4hcw0kWtHFHSkFOnfg4JRWkmY7RCRvdrxfzJq6jRNLo_brdGv01VWU89UiP3cDYsW-I712aZoZd2cIMyaaX2zPcQbDOTYDhRE59yB579MD7dDJtx7O5KG4y970vPFewwZJvwTCEKCqsldz7rp7heOX0BJwSqh6tTGebnD7vvPrHPZMf4lMX1pTu991prUnISi9XpBBUFoJJPGmHaDKCEvXxlmu70yaUQkaYiKLLo5Db6r7afwI8DRQE8Qdjk-R-L1zOagyJqbZkQyaOHB9_WwVkxmq0cqa65UUtaU6h_FOZL4XWIHr7bsyYduHkIEumCeZkhtucIL_xb0YFBcBQ0pQla9OpGnhdxSvfkJOPa6NBVusDv6zSVkeP2-pQn8rk883mXPZHOZkwMiU8","username":"admin"}
Alternatively, you can create a script by using Scripting to integrate the Asset Inventory Service. The script and installation instructions for it are available on request from our support team.
In the UserClient, you will find a link for each component that you can use to open it in the Asset Inventory Service.
- Select the component in the Project tree in the UserClient.
- Open the section Component details, the tab Details.
- The link is displayed above the master data.
- ![1. Image: Component details, Tab Details, External connections
](AssetInventoryService_Link.PNG)
Related Topics
Last update: September 15, 2023