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 IIS (Internet Information Services):

  1. Open the IIS Manager.
  2. Right-click Sites and select Add Website from the menu.
  3. Enter the Site Name.
  4. Select the Physical path where your folder API files are located. For example; C:\Program Files (x86)\Datamine\GDMS\ExternalTransferApi.
  5. Set the Binding Configuration:
    1. Set Type asHTTPS for SSL (Secure Sockets Layer) or HTTP for non-SSL.
    2. Set the IP Address to All Unassigned or specify an IP address.
    3. Enter the Port number. The default port number is 80 for HTTP or 443 for HTTPS.
    4. Enter the Host Name. Leave this blank for localhost access.
  6. Select Application Pool.
  7. Create a new application pool or use an existing one.
  8. Set the .NET CLR Version to No Managed Code for .NET Core APIs.
  9. Select Application Pool.
  10. Right-click the required pool and select Advanced Settings from the menu.
  11. Set Start Mode to AlwaysRunning.
  12. Click OK.
  13. Right-click your website and select Edit Bindings from the menu.
  14. Click Add and select HTTPS.
  15. Select your SSL certificate.
  16. Ensure your Port is correct.
  17. Select your website and navigate to Windows Authentication.
  18. Enable Windows Authentication. Optionally, disable Anonymous Authentication to allow only authenticated users to access the API.

To configure the ConfigurationAPI file for IIS:

  1. On your server, navigate to the directory C:\ProgramData\Datamine\GDMS.
  2. Open in the ApiConfiguration.json file in a text editor application.
  3. In the AppSettings section, insert "IISEnabled": "true", as shown in the image below. You must add this specific setting to enable the API to run on IIS.

    ApiConfiguration.json file

  4. Save and Close the JSON file.
  5. Open the Fusion Portal.

    The API console will now appear slightly different, indicating that it is running on IIS. After completing this procedure, the system is ready to use.