Skip to main content

API Key Creation and Configuration

In this section we will cover the required API Keys to facilitate Pia's integration with your internal systems. Not all API Keys are mandatory and you are not required to create API Keys for every type of integration. API Key creation instructions for some Connected Services such as Ticketing Systems will be duplicated below with specific instructions per Ticketing System. Please only follow the instructions applicable to your environment.

At the start of each section, next to the name of the integration type will be the text "(Optional)" or "(Mandatory)" to indicate the difference between mandatory and optional integrations with Pia.

Ticketing Systems (Mandatory)

Ticketing System integration for Pia is mandatory regardless of which ticketing system is in use. Please see the list of ticketing systems below for instructions specific to each system.

  1. Log into ConnectWise Manage as an Administrator.
  2. Click on System > Security Roles

api-cwm-1.png

  1. Click on the "+" symbol to create a new Security Role.

api-cwm-2.png

  1. Name the role "Pia - API" and click the "Save" icon.

api-cwm-3.png 5. Set the permissions to be the same as below and then save the changes.
Note: Some sections are intentionally left blank but included to mirror the layout of the CW Manage permissions page.

LevelAddEditDeleteInquireNotes
🗂️ COMPANIES
Company MaintenanceAllAllNoneAll
Company/ Contact Group MaintenanceAllAllNoneAll
Configuration - Display Passwords
Configurations
ContactsAllAllNoneAll
CRM/ Sales Activities
Import Contacts
Manage AttachmentsAllAllNoneAll
ManagementAllAllNoneAll
NotesAllAllNoneAll
Reports
Surveys
Team MembersAllAllNoneAll
Tracks
UserCentric
🗂️ FINANCE
Accounting Interface
Agreement Invoicing
Agreement Sales
AgreementsNoneNoneNoneAll
Billing Rate Maintenance
Billing Reconciliation
Billing View TimeAllAllNoneAll
Company Finance
Expense Reimbursements
Financial Dashboard
Invoice Approval
Invoicing
Reports
🗂️ MARKETING
ConnectWise Campaign
Marketing Groups
Marketing Management
Marketing Reports
🗂️ PROCUREMENT
Inventory Adjustments
Inventory Transfers
Product Billable Option
Product Catalog
Products
Purchase Orders
Purchasing Approvals
Purchasing Demand
Reports
RMA Entry
RMA Processing
Serial Number Search
🗂️ PROJECT
Close Project Tickets
Close Projects
Project Contacts
Project Finance
Project Headers
Project Management
Project Notes
Project Phase
Project Product
Project Reports
Project Scheduling
Project Teams
Project Templates
Project Ticket - Dependencies
Project Ticket Tasks
Project Tickets
🗂️ SALES
Closed Opportunity
OpportunityAll
Opportunity Finance
Reports
Sales Dashboard
Sales Funnel
Sales Order Finance
Sales Orders
🗂️ SERVICE DESK
Change ApprovalsAllAllNoneAll
Close Service TicketsAllAllNoneAll
CloudConsole
ConnectWise Chat
ConnectWise Control
ITBoost
Knowledge Base Approver
Knowledge Base Creator
Launch Remote Access
Merge TicketsAllAllNoneAll
Print Service SignoffAllAllNoneAll
Reports
Resource SchedulingAllAllAllAll
Service Ticket - DependenciesAllAllNoneAll
Service Ticket - FinanceNoneNoneNoneAll
Service TicketsAllAllNoneAll
SLA Dashboard
Ticket Templates
🗂️ SYSTEM
Add Licenses
API Reports
Chat with ConnectWise Manage Support
ConnectWise Manage Labs
ConnectWise Next
ConnectWise Now
Custom Menu Entry
Data Import
Email Audit
List View Export
Manage Hosted APIAllAllAllAll
Marketplace Sharing
Mass Maintenance
Member MaintenanceAll
Member Maintenance - FinanceAll
My Account
My Company
Report Writer
Security Roles
System Reports
Table SetupAllAllAllAllNote: Click on "Customize" and only Allow Access for "General / Manage Hosted API", "Company / Company Type", "Member / Member Type" and "Service / Service Board"
Today Links
🗂️ TIME & EXPENSE
Expense Approvals
Expense Billable Option
Expense Report Entry
Reports
Stopwatch
Time Approval
Time EntryAllAllAllAll
Time Entry Billable OptionAllAllAllAll

Set the permission as below in the Table Setup Section.

Note: For the Table Setup section, please keep in mind that unlike most permissions windows, the allowed permissions are in the left hand panel on this window.

  1. Click on System > Members

api-cwm-4.png

  1. Click on the API Members tab and then on the "+" symbol.

api-cwm-5.png

  1. Fill in the Member ID & Member Name referencing PIA. Set the time zone to your local time zone. For the Role ID, choose the role created previously for Pia. For all other mandatory fields, choose the default option and then click "Save".

api-cwm-6.png

  1. After ConnectWise saves the information in the step above, click on the "API Keys" tab.

api-cwm-7.png

  1. Click on the "+"symbol to add an API Key.

api-cwm-8.png

  1. Enter in a description for the API and then click the save button.

api-cwm-9.png

  1. The Public and Private keys will be created at this point, save them both in a secure location for later reference.

api-cwm-10.png

Documentation Systems (Optional)

Integration with documentation systems allows Pia to store data of executed packages in a location for your service desk staff to reference.

For IT Glue, Pia can store data of packages which have been ran including the following:
  • Name of the Package
  • Package Category
  • Package Status
  • Link
  • Package Id
  • Procedure Document (Downloadable PDF format)

This is stored in the form of a flexible asset which is also detailed below.

  1. Log into IT Glue as an Administrator.
  2. Go to Account > Flexible Asset Types

  1. On the Flexible Assets page, click on “+ New”

api-itg-36.png

  1. Create the Flexible Asset with the information below;

  1. Click "Save".

To enter data into the Flexible Asset, an API Key must be created, please follow the instructions below.

  1. Log into IT Glue as an Administrator.
  2. Click on "Account" on the top bar.

api-itg-40.png

  1. Click on the “API Keys” tab.

api-itg-41.png

  1. Under the Custom API Keys section, click on the "+" symbol to create a new line for another API Key.

api-itg-42.png

  1. Enter a descriptive name for the API key and click on “Generate API Key”.
    Note: Password Access is NOT required for Pia.

api-itg-43.png 6. Record the API Key created in the API Key field in a secure location for later reference.