Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article shows how to establish provides the following step-by-step guide for establishing the connection of ConnectWise Automate On-Premise to MSPbots. 

Table of Contents
stylenone

1.

...

 Complete the prerequisites

...

.

...

Ensure you have a new read-only account in your SQL Server or MySQL for communicating with MSPbots. You can refer to the article How to Create a Read-only Account for Your SQL Server or MySQL for guidance. 

2. Connect the MSPbots agent. 

...

Note

Use this integration setup option only if you are an advanced user with knowledge of SQL databases and scripts. For more information on connecting your software to MSPbots using API or SQL agent, refer to Reminders for Connecting to MSPbots via API or SQL Agent

  1. Go to Integrations 

The following are the requirements for connecting the MSPbots agent to ConnectWise Automate On-Premise: 

  • Internal IP of the SQL Server 
  • db_datareader permissions 
Warning

Giving any account full DB access is not recommended.

To grant db_datareader permissions:  

    1. Open your SQL server and select db_datareader permissions for MSPbots.
      db user permissionsImage Removed
    2. Click OK.

2. Connect the MSPbots agent

    Go to Integrations 
  1. on the MSPbots app menu. 
  2. Find the ConnectWise Automate On-Premise
  3.  and click the Config 
  4.  and click the Config icon.
    connectwise automate integrationImage Modified
  5. Next, click the download icon for
  6. the 
  7. the MSPbots SQL Agent Client
  8.  to
  9.  to start downloading the installer file.
  10. Image RemovedLocate and double-click on the downloaded installer
  11. sql clientImage Added
  12. When the download is complete, follow the prompts to install the MSPbots SQL Agent client.
  13. During the setup,
  14. select Automatic Start and 
  15. select Automatic Start and Create a desktop shortcut, then
  16. click 
  17. click Next
    setupImage Modified
  18. Follow the prompts.
  19. In the last step, select
  20. the 
  21. the Launch MSPbotsAgentService
  22.  checkbox
  23.  checkbox and
  24. click 
  25. click Finish. The window will automatically close when the service starts.
    finish setupImage Modified
  26. Launch the MSPbots agent and log in using your MSPbots account. You can
  27. Minimize
  28. minimize or
  29. Close
  30. close the window after login but do not log out. 
    login agent clientImage Modified

3.

...

Set up the MSPbots Agent Connector

...

  1. Go
  2. back to Integrations.
  3. to Integrations on the MSPbots app menu.
    integrationsImage Added
  4. Search for ConnectWise Automate On-Premise and click it to open the connection settings. 
    ConnectWise Automate On-PremiseImage Modified
  5.  Click
  6.  Click the +Add Connector
  7.  button
  8.  button
    add connectorImage Modified
    Info

    The last success auth

  9.  shows
  10.  shows the last time

  11. when 
  12. when the MSPbots Agent successfully pulled the database configuration information.

  13. By default, this
  14. This process is set to occur every 5 minutes by default.

     
  15. Fill in
  16. all of
  17. the following required fields.
    • Database Type - Select either SQL Server or MySQL.
    • Agent
  18.  - The agent will be
    • - This field is populated automatically with the name of the installed machine.
    • IP - Provide the internal IP address or FQDN of the SQL or MySQL server.
    • Database Name
    • Time Zone - Select the time zone used by the connected database.
    • User ID - This is the username of the user with read-only access to the database.
    • Password - This is the password of the user with read-only access to the database.
  19. sql serverImage Removedt
    • ConnectWise Automate On-premise SQL settingsImage Added
      Note
  20. I
    • It may take a few moments for the agent to check in after installation. 

      If you have

  21. installed multiple MSPbots agents with
    • installed multiple MSPbots agents with different databases in different network segments, you have to select the device name where you manually installed the MSPbots Agent. You can find the device name in the Agent selection box. Select the one under the corresponding gateway of the database.

  22. Click 
  23. Click Save and Sync.

4.

...

Create a dataset and validate the data

...

  1. Go
  2. to Datasets 
  3. to Datasets on the MSPbots app menu and click
  4. the 
  5. the New Agent
  6. Dataset 
  7. Dataset button. 
    new agent datasetImage Modified
  8. When the New window appears,

  9. click 
  10. click Integration and select ConnectWise Automate On-Premise. Don't forget to fill in the

  11. dataset 
  12. dataset Name 

  13. and 
  14. and Description fields.

  15. new agent dataset defaultImage Removed
  16. Image Added
  17. Next, go to
  18. the 
  19. the Data Cleaning
  20.  tab
  21.  tab to show the Validate SQL section below.
    1. Select a database from
  22. the DB 
    1. the DB dropdown list.
  23.  

    1. data cleaning DBImage Modified

    2. Scroll down to the Validate SQL section and fill in the SQL field. The most common SQL statement here is “select * from TABLENAME”.
  24. Scroll down to the Validate SQL section
    1.  
    2. Input your desired Sync Frequency in
  25. , fill in the SQL field, and input your desired Sync Frequency in
    1. minutes.
      Tip

      Sync Frequency is currently limited to 30 minutes and can only be decreased for smaller datasets. For larger datasets, the frequency may be limited due to a large amount of data ingestion and the

  26. constraint
    1. constraints it would place on both your server and ours. 



      data cleaning sqlImage Modified
  27. Click Confirm 
  28. Click Confirm when done. This will show a preview of the data for your validation. You can customize or use the default character length for string-type fields, and
  29. the time
  30. the time field can be set with a timezone.
    validate sqlImage Modified
  31. Once you confirm the data is correct,
  32. click OK 
  33. click OK to create and save the dataset. The data will be synchronized in 10 minutes.

5.

...

Save the logs and send the file to MSPbots Support

...

Team. 

...

  1. Open the MSPbots Agent client and click
  2. the 
  3. the Save Log
  4.  button
  5.  button on the upper right corner of the window. 
    save logImage Modified
  6. Click 
  7. Click Confirm
  8.  on
  9. in the Tips
  10. popup that appears. 
  11. pop-up window.  
    tipsImage Modified 
  12. Next, select the location to save the logs, provide a filename, and
  13. click 
  14. click Save.
  15. Send the file to
  16.  
  17. support@mspbots.ai.

Related Topics 

...

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel = "sql"