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):

  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:
    1. Right-click Application Pools and select Add Application Pool from the menu.

      The Add Application Pool window displays.

    2. Name the application pool FusionAPI.
    3. Set the .NET CLR Version to No Managed Code
    4. Set Managed pipeline mode to Integrated.
    5. Check Start application pool immediately.
    6. Click OK.

      The Add Application Pool window closes.

  8. Right-click on the FusionAPI pool and select Advanced Settings from the menu.

    The Advanced Settings window displays.

  9. In the General group, set Start Mode to AlwaysRunning.
  10. Click OK.
  11. Expand the Sites node and select your site.
  12. Right-click your site and select Edit Bindings from the menu.

    The Site Bindings window displays.

  13. Click Add.

    The Add Site Binding menu displays.

  14. Select the Type as https.
  15. Set the IP address to All Unassigned.
  16. Ensure your Port is correct.
  17. Select your SSL certificate.
  18. Click OK.
  19. In the Connections list, double-click the Authentication icon.

    The Authentication settings display in the middle panel.

  20. 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:

  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 now looks different, indicating that it is running on IIS. The system is ready to use.