Zendesk Support/Talk Query authentication guide
Overview
This is a step-by-step guide to creating an OAuth entry, acquiring credentials and authorising the Zendesk Support Query and/or Zendesk Talk Query components for use in Matillion ETL.
Important Information
- The Zendesk Support Query and Zendesk Talk Query components use either a username and password or an OAuth for third-party authentication. This guide will only explain the OAuth method.
- While component properties may differ between Cloud Data Warehouses, the authentication process remains the same.
Creating an OAuth Entry in Matillion ETL
-
In Matillion ETL, on the top left of the screen, click Project → Manage OAuth.
Please Note
If a Zendesk Support Query or Zendesk Talk Query component has already been added to an Orchestration Job, the Manage OAuth window may also be accessed using the following method:
- Click the component icon to open the Properties panel at the bottom of the screen.
- Then, click ... next to the Authentication Method input.
- Select OAuth from the dropdown menu in the pop-up window and click OK.
- The Authentication input will now appear on the list of properties. Click ... next to it, and finally click Manage in the pop-up window.
-
Copy the Callback URL in the field at the top of the window as this will be required in Acquiring Third-Party Credentials.
-
Click + in the bottom left of the window to open the Create OAuth Entry window.
-
Click the Service dropdown menu and select Zendesk. Then, provide a name for the OAuth in the Name field and click OK.
-
On returning to the Manage OAuth window, check the list of OAuths to ensure the new entry is listed.
Please Note
This entry is Not Configured. Configuration of the OAuth entry will be discussed in Authorising for use in Matillion ETL.
Acquiring Third-Party Credentials
-
Navigate to the Zendesk website and click Sign In on the right above the header.
-
On the next screen, enter the subdomain associated with the account in the field provided and click Sign In. Please make a note of the subdomain, as it will be required later in Authorising for use in Matillion ETL. The browser will then redirect to a login screen. Enter valid login credentials for the account associated with subdomain to continue.
-
From the Zendesk dashboard, click ⚙ on the sidebar on the left to open the ADMIN HOME page.
-
Scroll down the menu on the left and click on CHANNELS → API.
-
In the Zendesk API window, click OAuth Clients on the menu at the top.
-
Click the + on the far right, at the top of the All OAuth Clients list.
-
In the Create a new OAuth client window, provide details for the following fields:
- Client Name – provide a name for the app
- Unique Identifier – provide a client name to be used in code, it will be required later in Authorising for use in Matillion ETL
- Redirect URLs – paste the Callback URL (copied from the Manage OAuth window in Matillion ETL earlier), then click Save
-
A prompt will then offer a reminder to Please store the secret that will appear, before refreshing the window. A field entitled Secret will now have appeared under the Redirect URLs field. Copy the code from both the Secret as it will be required in Authorising for use in Matillion ETL.
Please Note
- Make sure to copy the Secret right away as it will not appear again after saving or leaving the page.
- Additionally, when copying the codes, some browsers may add a space to the end of the string. Watch out for this as it will cause the credentials to fail.
Authorising for Use in Matillion ETL
-
Return to the Manage OAuth window in Matillion ETL and click ⚙ next to the previously created OAuth entry. This will open the Configure OAuth window.
-
Using the codes copied from the Zendesk website earlier, provide details for the following fields:
- Client ID – enter the Unique Identifier
- Client Secret – enter the Secret
- URL Prefix – enter the account subdomain, then click Next
-
The next window will have an Authorization link. Click the link to authorise Matillion ETL to use the acquired credentials.
-
The browser will then redirect to a screen requesting access to the associated Zendesk account. Click Allow to confirm.
-
If all is successful, the browser will return to Matillion ETL with a window stating, "Authorization Successful".