Create your first app in 4 easy steps
Last updated
Last updated
This tutorial will show you how easy it is to build, package and deploy a Deskpro App. The app we will create increments a notifications counter in the application's badge when the user clicks a button.
You will need access to a Deskpro instance, either a Cloud or an On-Promise version. If you don't have one available, you can sign-up for a free trial on .
You will also need to have node.js
and npm
installed on your system. In case you don't, go over to and follow their tutorial before continuing. You also need git
(go to the for installation instructions) to clone the starter application repository.
Clone the apps-boilerplate repository
We maintain a starter application skeleton which we encourage everybody to use when starting a new app:
Add the button
Open the file src/main/javascript/App.jsx
and replace its contents with the following lines:
Build the application
This step will build a distribution file located at dist/app.zip
inside the folder where you originally cloned the starter application. This is a zip file which contains the compiled sources of your application.
Install the application
Log-in to the Agent interface of your Deskpro installation if you are not logged in already. You can access the Agent interface at http://<your-deskpro-installation>/agent
.
Navigate to the Apps
section and choose the Upload App
option. Choose the dist/app.zip
file from inside the folder where you originally cloned the starter application, upload it then click the green Install button:
Now head over to the Tickets
section and open a ticket to see your application. If you followed this tutorial each time you click the button the application badge will increment the notification counter: