Write new connections for custom services and expand the third-party support of ServiceDesk Plus MSP Cloud.
Important Terminologies
Before you set up connections with custom services, familiarize yourself with the following terms:
- Client: The application requesting access to the APIs of an external system. Using connections, ServiceDesk Plus MSP Cloud is accessing data in external applications. Thus, ServiceDesk Plus MSP Cloud will be the client throughout connections.
- Resource: The application or service that the client is accessing. With regards to connections, any third-party service (eg. Zoho CRM) that you integrate with ServiceDesk Plus MSP Cloud is called a resource.
- Client ID: A unique identifier provided to every client application (or ServiceDesk Plus MSP Cloud). This ID is provided by the resource owner (Zoho CRM, for example). Client ID is specific to OAuth 2.0.
- Client Secret: Every client application has a secret code mapped to it. This is done to prevent unauthorized access to the resource.
- Consumer Key: The API key generated for the resource owner (user) that uniquely identifies the client (or ServiceDesk Plus MSP Cloud). Consumer key is specific to OAuth 1.0.
- Consumer Secret: The client's password to authenticate with the resource server.
- Authorize URL: The URL of the login page of the resource, where the client can be authenticated with the resource server.
- Request Token URL: This URL is used to send authorization requests to the resource server. The resource server prompts the resource owner (user) to authorize this request. Request token URL is used only in OAuth 1.0.
- Access Token URL: Once the request is authorized by the resource owner, the server sends an access token to the client. This token has to be exchanged every time the client wants to access the resource data.
- Refresh Token URL: For some services, access tokens are valid only for a limited period of time. When an access token expires, the client has to get another access token from the resource, using the refresh token URL. Refresh token URL is used only in OAuth 2.0.
Setting up Connection with Custom Service
- Go to Setup > Developer Space > Connections.
- Click Add Connection.
- Select Custom Service.
- Provide the service name, select its authentication type, and fill out the authentication details as explained here.
- Fill out the connection details as follows:
- Provide a unique Connection Name and Connection LinkName.
- Under Scope (if available), select the access permissions required by ServiceDesk Plus MSP Cloud to the resource data.
- Select Use Credentials Of Login User checkbox to allow users to authorize the connection individually. If the option is unchecked, only the administrator who created the connection can authorize it using their own tokens.
- After you enter the connection details, click Create and Connect.
- The connection will be created and displayed with the following fields and a code snippet.
- Link Name: This is the name you provided for your connection.
- Scopes: The account authorized through the connection will have access to the URLs displayed under Scopes.
- Service Name: Name of the third-party application.
- Status: Indicates the connection status.
- Click Done. You will be redirected to the connections home page.
- To set up the created connection, click Connect or the Plug icon displayed upon hovering over the specific connection.
- Sign in to the third-party application and authenticate ServiceDesk Plus MSP Cloud. The connection will become active.
You can use the code snippet provided for the connection in custom functions.
The Scope access permissions are defined only by the third-party service that you're using in the connection. Therefore, check the help documents of the third-party service to learn about the scope provided.
The Use Credentials Of Login User option is relevant only to custom widgets. If a connection is used independent of custom widgets, this configuration will not be accounted by ServiceDesk Plus MSP Cloud and only administrators will be allowed to authorize connections.
If you are using a custom domain, make sure that it's HTTPS enabled to access connections.
Authentication Details
ServiceDesk Plus MSP Cloud allows users to authenticate custom service connections using 4 authentication methods:
- API Key
- Basic authentication
- OAuth 1
- OAuth 2
API Key
To authenticate via API keys, select the type of parameter (Query String, Form Data, or Header) from the Param Type drop-down.
Enter the actual and display names of parameters In their respective text boxes. To add multiple parameters, hover beside the display name text box and click the

icon.
Basic authentication
If you select basic authentication methods, the parameter type is auto-populated as Header and is non-editable.
OAuth 1
If you select OAuth 1 authentication method, the following fields are populated in the connection form.
- Param Type: The parameter type is auto-populated as Header and is non-editable.
- Consumer Key: Enter the API key generated for the resource owner (user) that uniquely identifies ServiceDesk Plus MSP Cloud.
- Consumer Secret: Enter the password mapped to ServiceDesk Plus MSP Cloud to authenticate with the resource server.
- Request Token URL: This URL is used to send authorization requests to the resource server. The resource server prompts the resource owner (user) to authorize this request.
- Authorize URL: Enter the URL of the login page of the resource, where ServiceDesk Plus MSP Cloud can be authenticated with the resource server.
- Access Token URL: Get this value from the resource's website by following the steps provided. Once the request is authorized by the resource owner, the Request Token and Token Key will be exchanged for the Access Token, allowing the Connection to access specific data of the resource.
OAuth 2
If you select OAuth 2 authentication method, the following fields are populated in the connection form.
- Param Type: The parameter type is selected as Header by default. You can select Query String as param type, if needed.
- Grant Type: The grant type is selected as Authorization Code by default. You can select Client Credentials as grant type if needed. Depending on the grant type, the form loads accordingly.
- Client ID: Copy the client ID provided for your ServiceDesk Plus MSP Cloud account from the resource owner (or the external application, for example, Zoho CRM).
- Client Secret: Copy the client secret mapped to your ServiceDesk Plus MSP Cloud from the resource owner.
- Authorize URL (displayed only for Authentication Code): Enter the URL of the login page of the resource, where ServiceDesk Plus MSP Cloud can be authenticated with the resource server.
- Access Token URL: Get this value from the resource's website by following the steps provided. Once the request is authorized by the resource owner, the Request Token and Token Key will be exchanged for the Access Token, allowing the connection to access specific data of the resource.
- Refresh Token URL (displayed only for Authentication Code): Some applications limit the validation period of a particular token to strengthen the security. In that case, you must provide the Refresh Token URL to allow ServiceDesk Plus MSP Cloud to reauthorize access. You can obtain this URL from the resource's website.
Using Connections
Click a connection on the connection home page to view the code snippet and other details.
Copy the Deluge code snippet to a custom function and proceed as follows:
- Replace <url> by the URL to be invoked.
- Choose the HTTP method.
- Pass parameters, if any.
You can add connections to custom widgets by copying the JSON code snippet to a custom widget package. Note the following pointers for reference:
- Add line breaks after each property in the JSON object.
- You can set userAccess as "true" to allow users to authorize connections individually. To restrict authorization to only administrators, set userAcess as "false".
Click here to learn more about adding connections to custom widgets.
Connections Home Page Actions
On this page, you can set up, revoke, and delete connections.
- Click Add Connection to create a new connection with default and custom services.
- Click Connect or the Plug icon displayed on a connection to set up the connection.
- View the code snippet of each connection (both active and revoked) by simply clicking the connection.
- Modify the name and scope of a connection by using the Edit button displayed upon hovering over the connection.
- Revoke and delete connections by using the respective options displayed upon hovering over the connection.
Technicians can revoke the connections created by other technicians and view the code snippet.
You cannot delete a connection being used in a custom function.
When you update a connection's scope, the connection will automatically be revoked. You must re-authenticate to use the connection.
Learn about setting up connections for default services
here.
Related Articles
Connections for Default Services
Setting Up Connections with Default Services The application provides default connections with many services, such as Zoho, Google, Hubspot, Trello, etc. To set up connections for default services: Go to Setup > Developer Space > Connections. Click ...
Custom Actions
Custom actions refer to user defined actions that can be performed on different entities across modules. For a custom action to be performed on an entity, it should be used with automation rules, subject to the availability of support. The following ...
Overview
Connections is a simple authentication mechanism to connect your ServiceDesk Plus MSP Cloud account with external applications. You can use connections inside custom functions to invoke any third-party applications' REST APIs. Benefits: Connections ...
Add Custom Widget
Add Custom Widget to ServiceDesk Plus MSP Cloud Role Required: SDAdmin Go to Setup > Developer Space > Custom Widgets and click New Custom Widget. Follow the steps mentioned below to configure your own custom widget. Provide a name and description to ...
Custom Widget Specifications
The package directory of your custom widget includes a plugin-manifest.json file. This file contains the configuration details of your custom widget. While some keys included in this file are optional, others are mandatory. Use the following pointers ...