TeamViewer custom widget enables you to access their TeamViewer account from within ServiceDesk Plus.
This article provides easy-to-follow, step-by-step instructions to add a fully operational TeamViewer custom widget in your ServiceDesk Plus instance.
Log in to TeamViewer.
Go to Profile Settings > Apps and create a new OAuth app.
Select the checkboxes for the following scopes on the right side:
Session management:
Create, view, and edit sessions for the company.
Meetings:
View, create, edit, and delete meetings.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoNykucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY1NjYyOTA5fX19XX0_&Signature=dVLObjGI6eBKauLG8u27Tc~e786vHYhRncwZshBeRdW4ajFe6HyJq-LppiQ-pjICRw37RhP43qgRLFL9kq9mqrvCIvM6xAyA7tCzTWCMGQmAUu9FbbL3gOZB9U~42py579EN8Hd4nbI7vZ~swanU1Gut-BYb5tL54c~qhK-ptSZhg7xanz0Ljrl~Tb8FvXZkqC1GSZSy0ZmBfRhPccfP0QRwJnKb4ZgA46mDS-JkKrTBRg4KJKuDSkQbtATLABIildma2Ga7mN9lY2krjF7UmkcLUCq8qIGBKYvwPtzL0SAQgDcgYUavhXTWjbJ6qmpVIYQfcAAeMI4dbqFdUvS19A__&Key-Pair-Id=K2TK3EG287XSFC)
Set the Redirect URI as: $buildUrl/integration/oauth/callback (replace $buildUrl with the actual ServiceDesk Plus hosted domain)
Click Create.
Copy the generated Client ID and Client Secret.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoOCkucG5nIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzY1NjYyOTA5fX19XX0_&Signature=f6y42l3tRU-XThFOKfu-UQIu9TjOgM9dTVfltkoA7a8skvRkRYgoZAWAyUnittd5nFMRHlD2Fq~AE35akMbM7k1s00ywS71bQIEwCwQq4SymZIEry5wQSYAfwLIN-or62bpXVMFACR34cFA9KF7qbvRZESBcOUIjQx6iUejB0Ls8F3wzb1NiAak2iZeO275t4iu3LW-SWpTqg2LFi3hyGAAbCsq8qT1X7OhhW2wSucyi4SXeA-SqrcjizqiUixQzHmpeReQO714Gld1ygTwVxX1Y0viLQfQqY4yJOKL3bwIUVA~rPTTF3ryJL4OEwl7a8x6E8x163y8yY524VKqZxQ__&Key-Pair-Id=K2TK3EG287XSFC)
In ServiceDesk Plus,
Go to Admin > Developer Space > Connections > Custom Services.
Click Create Service.
Name the service and service link as teamviewer.
Choose OAuth2 as the Authentication Type.
Paste the Client ID and Client Secret from the TeamViewer OAuth app.
Enter the following URLs:
Authorize URL: https://login.teamviewer.com/oauth2/authorize?display=popup
Access Token URL: https://webapi.teamviewer.com/api/v1/oauth2/token
Refresh Token URL: https://webapi.teamviewer.com/api/v1/oauth2/token
Click Create Service.
After you create the service, click Create Connection.
Name the connection and connection link as teamviewer (similar to service name).
Click Create And Connect.

After creating the connection, click Connect. You will be prompted to enter the username and password. Use TeamViewer credentials and click Connect.
Copy the JSON code snippet of the connection.

Download the custom widgets zip from here.
Open the plugin-manifest.json file.
Locate the connection array in the plugin manifest file and update it with the copied JSON, as follows:
4. After you complete the configuration, re-zip all the files of the widget.
In ServiceDesk Plus,
Go to Admin > Developer Space > Custom Widget > + Custom Widget.
Enter a name for the custom widget.
Upload the zipped widget file. The supported file format is .zip and the maximum file size is 5MB.
Click Save.
Now, you should be able to access the fully operational TeamViewer custom widget.
Go to an existing request in ServiceDesk Plus.
You should now see a TeamViewer pane added to the request details page on the right side.

In the widget, click Create a Remote session to access the requester's computer screen.
Click Create a Pilot session to enable requesters to live stream.
Click Session History to view the previous session history.