The following procedure for configuring your Smart API server to your site and authenticate your user credentials requires that you edit certain values in the Web.config file using a text editor such as Notepad++.
You should make a copy of the Web.config file before making changes.
Navigate to where you installed Smart Instrumentation Smart API, by default C:/Program Files (x86)/SmartPlant/Instrumentation/Web Services/SI WEB API <version number>.
Locate the Web.config file and open it in a text editor of your choice.
In the open text document, locate fields separated by %_%, for example %BaseURL% and replace the string (including the %%) with your data. The table below, shows the list of variables and required replacement values.
Replace with your full server name, for example: https://Name.Domain.com
Change to the following temporary identifier: 77FB732E-463F-4358-A04C-E2AD3620D354
Change to the following temporary secret:
Replace with your SAM Issuer
Enables access to the Smart API Explorer from the browser without having to log into SAM.
The SAM_Resource_Identifier and the SAM_Secret are temporary values that you replace after registering your API.
This version of Smart Instrumentation Smart API requires Intergraph Smart Licensing Client (ISL).
Test your Server Connection
On the machine where you installed the API server, open a browser window, for example Internet Explorer.
In the address line, type the following: https://Your Base URL/api/si/<version number>/Description. The result is a payload with the API description.
If no payload is returned with the API description, check all your settings are correct and try again.
Register a Smart API in Smart API Manager
You should now register your API with the SAM Issuer and then edit the Web.config file by copying the SAM_Resource_Identifier and the SAM_Secret from your SAM settings to the fields in the Web.config file where you inserted the temporary identifiers and secrets.