A script develop to migrate the ZenDesk knowlegde base to PDF
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
You want to open the index.js file and change [email protected] 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: '[email protected]',
token: 'mytoken',
remoteUri: 'https://myurl.zendesk.com/api/v2/help_center',
helpcenter: true
});
After you finish setting up your variables just run:
node index.js