01
NetSuite StorageKnow more

In our series featuring NetSuite integrations with external applications, this blog will delve into the integration with Zendesk. Zendesk is one of the leading customer service solution companies, building software to help clients handle their customer service needs. Some of the features provided by the software include a ticketing system, live chat, chat bot etc. The 79Consulting team recently worked on integrating NetSuite with Zendesk for a client.
The client provides a knowledge base on the Zendesk platform to their customers. They wanted to establish Single Sign-on between NetSuite and Zendesk so that the end customers can automatically sign-in into Zendesk platform when signed into NetSuite instead of maintaining two different sets of login credentials. They also wanted to create an integration between NetSuite employees and Zendesk users. When an employee in NetSuite is given permission to access Zendesk, the same should be created as a user in Zendesk. If an employee’s Zendesk access is removed in NetSuite, the corresponding user record in Zendesk should be inactivated.
The design was a simple 2 part solution. Use the APIs exposed by Zendesk to create, update and inactivate users. Use SuiteSignOn record in NetSuite to establish SSO between NetSuite and Zendesk.
Although the design was simple and straightforward, the team was met with a few challenges while trying to tackle this requirement:
Although it took some research on the part of the 79Consulting team, the documentation and online help provided by Zendesk proved to be of great help in resolving the issues.
The first task was to understand how to invoke the APIs offered by Zendesk. The team went through the API documentation provided by Zendesk and used POSTMAN to make a series of calls to the APIs to figure out the details needed to make the API call. They were able to understand the JSON structure and the parameter names of various fields in Zendesk through the POSTMAN testing. Once the POSTMAN testing was successful they had all the information required to create a script in Netsuite and invoke the Zendesk APIs from NetSuite.
Next, the team needed to focus on the configuration and setup of SSO on both Zendesk and NetSuite. In Zendesk they had to generate the secret key and enable single sign-on for the employees as well as customers. The team could choose to enable SSO for just one of those entities for the initial testing. They then created a SuiteSignOn record in NetSuite with the details of the secret key that was created in Zendesk.
Once the required configurations for SSO are in place on both the applications, the last key piece was to establish the connection and open Zendesk application from NetSuite. As mentioned earlier, JWT is the key component at the core of SingleSign-on that allows Zendesk to trust the login requests coming in from NetSuite. In simple terms, JWT is nothing but a long URL that opens a Zendesk instance when you open it from a browser. This JWT has 3 main components
A few key points to remember while establishing the SSO are:
Integrating NetSuite with Zendesk and establishing SSO between both the applications was a great learning experience for the 79Consulting team. For any custom integration requirements for NetSuite, please reach out to our team of experts.