Configure the Fusion API on IIS
Note: The self-deployed Fusion API must be configured before completing these steps.
To set up an API in Internet Information Services (IIS):
- Open the IIS Manager.
- Right-click Sites and select Add Website from the menu.
- Enter the Site Name.
- Select the Physical path where your folder API files are located. For example;
C:\Program Files (x86)\Datamine\GDMS\ExternalTransferApi. - Set the Binding Configuration:
- Set Type asHTTPS for SSL (Secure Sockets Layer) or HTTP for non-SSL.
- Set the IP Address to All Unassigned or specify an IP address.
- Enter the Port number. The default port number is 80 for HTTP or 443 for HTTPS.
- Enter the Host Name. Leave this blank for localhost access.
- Select Application Pool.
- Create a new application pool:
- Right-click Application Pools and select Add Application Pool from the menu.
The Add Application Pool window displays.
- Name the application pool FusionAPI.
- Set the .NET CLR Version to No Managed Code
- Set Managed pipeline mode to Integrated.
- Check Start application pool immediately.
- Click OK.
The Add Application Pool window closes.
- Right-click Application Pools and select Add Application Pool from the menu.
- Right-click on the FusionAPI pool and select Advanced Settings from the menu.
The Advanced Settings window displays.
- In the General group, set Start Mode to AlwaysRunning.
- Click OK.
- Expand the Sites node and select your site.
- Right-click your site and select Edit Bindings from the menu.
The Site Bindings window displays.
- Click Add.
The Add Site Binding menu displays.
- Select the Type as https.
- Set the IP address to All Unassigned.
- Ensure your Port is correct.
- Select your SSL certificate.
- Click OK.
- In the Connections list, double-click the Authentication icon.
The Authentication settings display in the middle panel.
- Right-click Windows Authentication and select Enable from the menu. Optionally, disable Anonymous Authentication to allow only authenticated users to access the API.
To configure the ConfigurationAPI.json file for IIS:
- On your server, navigate to the directory
C:\ProgramData\Datamine\GDMS. - Open in the
ApiConfiguration.jsonfile in a text editor application. - In the
AppSettingssection, insert"IISEnabled": "true", as shown in the image below. You must add this specific setting to enable the API to run on IIS.
- Save and Close the
.jsonfile. - Open the Fusion Portal.
The API console now looks different, indicating that it is running on IIS. The system is ready to use.
