This will cover How to set up the "CPWebhooks.exe" file. First, MiSP will need to temporarily move the .exe file to downloads. This is because windows will not allow to save changes in the "Program Files" folder.
1. Navigate and Select "C:" Drive.
2. Navigate and Select "Program Files" folder.
3. Navigate and Select "move" folder.
4. Select CPWebhooks Folder.
5. Point to "CPWebhooks.exe" file.
6. Select "Move to".
7. Select "Downloads" from dropdown.
8. Select "Continue".
Next MiSP need update .exe File in "Downloads Folder.
1. Navigate and Select "Downloads" folder.
2. Select "CPWebhooks.exe" config file.
3. Change "Token" value with "WEBHOOK API KEY" from last section.
4. Scroll to "<connectionstrings>".
5. Pay attention to "<add name>" portion.
6. Change "User ID" value to a user of the CP Microsoft SQL Server.
7. Change "Password" value to a password of a user of the CP Microsoft SQL Server.
8. Change "Initial Catalog" value to the database name of the CP system.
9. Change "Data Source" value to server name of the CP system.
10: Save File.
Now MiSP will need to move file back to "CPWebhooks"folder.
1. Navigate and Select "Downloads" folder.
2. Point to "CPWebhooks.exe" file.
3. Select "Move to".
4. Select "choose location" from dropdown.
5. navigate to and select "CPWebhooks" folder.
6: Select "Move".
7. Select "Continue".
CPWebhooks.exe File is now moved back to "CPWebhooks" folder.
Now MiSP will need to run the "InstallCPWebhooks.bat" file.
1. Search for "Command Prompt" in "Windows" Server.
2. Right-click "Command Prompt".
3. Select "Run as Administrator".
4. Navigate back to "CPWebhooks" folder.
5. Right-Click "CPWebhooks" in the address box.
6. Select "Copy address".
7. Navigate to "Command Prompt".
8. Type in cd into "Command Prompt".
9. Paste address(Ctrl+V) into Command Prompt.
10. Type in InstallCPWebhooks.bat into "Command Prompt".
11. Click "Enter".
12. Once script runs, click "Enter again".
13. Search and select "Services".
14. Right-click "CPWebhooks for iPaaS.com".
15. Select "Start".
Note: if “CPWebhooks for iPaaS.com" is not in services, There is a problem with the CPWebhooks.config file setup. MiSP will need to fix that file, then rerun "InstallCPWebhooks.bat".