DEV Community

may arden
may arden

Posted on

ZenDesk Customer Help Application

The need here is for there to be a platform upon which Clients can contact Customer Support directly regarding their ticket purchases. In order to achieve this, there must be a client-facing UI which offers message board-like functionality for the Customer Support to respond to Client comments and complaints.

The solution this ZenDesk Course offers is a Customer Help Application on the ZenDesk Application Framework (ZAF) which uses HTML, CSS, Ruby and async JavaScript.

In order to build this application, one must first confirm that one has the latest version of Ruby installed on their machine ruby -v, gem install rake for database management, install ZAT gem install zendesk_app_tools and initialize a new application on the ZenDesk framework using the command zat new.

There are three crucial elements: the manifest.json file is located in the root directory and includes administrator information and validations. The assets directory includes the logo files and the iframe.html which is the Document Object Model. The third crucial element is the translations folder located in the root directory.

The first step is to create an instance of the ZAF Client Object ZAFClient.init() by assigning it to the variable client

var client = ZAFClient.init();

The following steps include adding event listeners, fetching information about tickets from external APIs, building the user interface using CSS, and packaging, validating and uploading the application to the ZenDesk Marketplace.

Top comments (0)