Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 10 votes, 5.00 average. Display Modes
  (#1) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
Integration API - 13-07-2008, 01:32 PM

Currently, there are two ways to integrate a piece of software with Kayako. The first is a LoginShare which has always been found to confuse the user unless you skin your Kayako installation to look exactly like your main site. It is also confusing as they must login again regardless of if they have already logged into your main site.

The second way is by including Kayako's core files and integrating in a similar way to how ModernBill and WHMCS do. There are a number of problems in doing this. The first is you require access to swift.php and functions.php which are both encoded files and you must decode these before you can edit them. The second is that your templates then become a maze of If and Else statements to say if the interface is your integration, show this. The final issue is that it stops you really being able to upgrade Kayako.

Our solution to this problem has been to write an API with an optional SOAP interface that you can have your main site software (CMS, etc) connect to to get the information it needs (Knowledge Base Categories and Articles, and Tickets). All that you need to do to install this API is to upload it to your Kayako folder on your server which means it doesn't stop you from upgrading Kayako in the future.

We provide this Integration API free of charge. If you wish to build this into an application that you are providing free or commercially, we require you to contact us first for permission (we won't charge you, we just require being contacted first) using our contact form.

Details and Download
Setting Up
Example Usage
Function Documentation
Sorting the URLs in E-Mails
Features for the Future


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger

Last edited by craigbrass; 09-09-2008 at 03:42 PM.
   
Reply With Quote
  (#2) Old
Chris Boulton Offline
Member
 
Posts: 151
Join Date: Jun 2003
Location: Sydney, Australia
14-07-2008, 01:46 AM

You are a deadset champion Craig!

You've just saved me an enormous amount of time as I was going to need to write something similar shortly anyway.

I'll have a play around with it later but thanks!
   
Reply With Quote
  (#3) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
14-07-2008, 09:13 AM

Please let me know if you run into any bugs as I would like to get them ironed out so my own application works fine when released with linking to this API.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#4) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,858
Join Date: Aug 2006
Location: Mumbai, India
14-07-2008, 09:33 AM

This is simply great! Is going to help a lot of Kayako users.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#5) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,452
Join Date: Jan 2006
Location: United Kingdom
14-07-2008, 10:16 AM

Excellent release, thank you for sharing


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#6) Old
Dewak Offline
Member
 
Dewak's Avatar
 
Posts: 145
Join Date: Feb 2008
16-07-2008, 04:00 AM

This API rocks Craig, another excellent contribution for the community.


Andres Berdugo
Email & MSN: andres[at]dewak.com
Skype: andres.dewak
Dewak: Kayako Development, Consultancy and Support
http://www.dewak.com
   
Reply With Quote
  (#7) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
16-07-2008, 09:33 AM

I have now fixed the permission issue preventing people from being able to download the API. Sorry about that. Really should try to stay awake at times!


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#8) Old
jnet Offline
Member
 
Posts: 568
Join Date: Mar 2008
16-07-2008, 10:56 AM

sorry one question what is the use of
MD5 Hash Generator - GTools, free DNS, SEO and hash tools

when you can find out the hash by
GData: An Online MD5 Hash Database
?
   
Reply With Quote
  (#9) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,452
Join Date: Jan 2006
Location: United Kingdom
16-07-2008, 10:58 AM

MD5 hashing when used well is reasonably secure - i.e. when you 'salt' the hash procedure with extra data; it then becomes more unlikely that the data has been databased and is searchable. It is always a possibility, though.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#10) Old
jnet Offline
Member
 
Posts: 568
Join Date: Mar 2008
16-07-2008, 11:15 AM

yes I heard about the salt but don't know how to use it
   
Reply With Quote
  (#11) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,452
Join Date: Jan 2006
Location: United Kingdom
16-07-2008, 11:18 AM

There is plenty of information on 'good hashing' on Google


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#12) Old
John Haugeland Offline
Developer
 
John Haugeland's Avatar
 
Posts: 681
Join Date: Dec 2007
Location: Idaho
Applied Cryptography - 21-07-2008, 10:50 PM

Quote:
Originally Posted by jnet View Post
yes I heard about the salt but don't know how to use it
Jnet: if you want to do crypto, you really need to learn to do it right. Unlike most fields, in crypto, any tiny mistake can compromise you in a way that cannot be fixed down the road.

Strongly recommended: Applied Cryptography by Bruce Schneier

The long and short of salts are simple: they're just string data that's added to the actual thing-to-be-hashed to prevent lookup tables from making sense. That way, your password, instead of being md5('example'), is md5('salt' . 'example'), or what have you.

Obviously using the word "salt" as your salt wouldn't be smart, but you get the idea; if that salt is a random binary string, that makes MD5 lookup tables pretty much useless.

Doesn't do much to stop rainbow tables, but that's beyond the scope of a forum discussion.


John Haugeland (john.haugeland ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#13) Old
jnet Offline
Member
 
Posts: 568
Join Date: Mar 2008
22-07-2008, 06:51 AM

This does not mean that once you register with kayako at the same time you are registered in whmcs ! does it?
   
Reply With Quote
  (#14) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
22-07-2008, 09:02 AM

No. It wasn't designed to do that.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#15) Old
craigbrass Offline
Senior Member
 
Posts: 5,762
Join Date: Jun 2005
Location: Cumbria, UK
15-08-2008, 07:19 PM

Tested with 3.30.00 and working fine.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger

Last edited by craigbrass; 01-09-2008 at 12:00 PM.
   
Reply With Quote
Reply

Tags
api, external, integration, link

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kayako External API? KIK Developers & Code 8 26-11-2008 06:02 PM
Free Attachment Migration Tool [FREE - EXTERNAL LINK] craigbrass Modifications & Addon Releases 5 08-11-2008 09:54 AM
CRM Integration API nextcontact SupportSuite, eSupport and LiveResponse 11 24-02-2008 06:47 PM
Regarding the API (XML) for integration of kayako with other tools vineethshyam SupportSuite, eSupport and LiveResponse 5 28-11-2007 09:34 AM
API and 3rd Party Integration UberGreek SupportSuite, eSupport and LiveResponse 1 29-12-2006 05:39 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47