/zendesk-to-pdf

A tool to transfer ZenDesk knowledge base to PDF

Primary LanguageJavaScript

ZenDesk Knowledge Base to PDF

What is it?

A script develop to migrate the ZenDesk knowlegde base to PDF

Installation

First of all you need to install Node.js.

Then open terminal and change directory to where the installed file is: and run:

	$ npm install

Setup

You want to open the index.js file and change mnyemail@myemail.com for your email address. Now generate a new token by going to

Select Settings -> Channels.

In the API section click the Edit link.

Make sure Ticket Access is enabled and you'll see your API token there.

If you want to create a new token, click Generate new token.

Copy that token and paste it where it says mytoken. Finally replace "myurl.zendesk.com" with your Zendesk url. And replace the category_id with your category_id.

	var zenClient = zendesk.createClient({
		username:  'mnyemail@myemail.com',
		token:     'mytoken',
		remoteUri: 'https://myurl.zendesk.com/api/v2/help_center',
	    helpcenter: true
	});

Running

After you finish setting up your variables just run:

	node index.js