Zendesk

Setup Guide

You can find your Zendesk app credentials by visiting your Zendesk Developer App Console.

You'll need the following information to set up your Zendesk app with Paragon:

  • Client ID

  • Client Secret

Add the Redirect URL to your Zendesk app

Paragon provides a redirect URL to send information to your Zendesk app. To add the redirect URL to your Zendesk app:

1. Copy the link under "Redirect URL" in your integration settings in Paragon. The Redirect URL is:

https://passport.useparagon.com/oauth

2. In your Zendesk dashboard, click the gear icon on the left.

3. Under Channels > API > OAuth Clients, click the "Add OAuth Client" button.

4. Fill out your Client Name and Description.

5. Under "Redirect URLs", paste the Redirect URL from Paragon.

6. Press the Save button.

7. Scroll down to the bottom of the page to copy your Secret. We'll use this in the next step.

Add your Zendesk app to Paragon

1. Select Zendesk from the Integrations Catalog.

2. Under Integrations > Connected Integrations > {YOUR_APP} > Settings, fill out your credentials from the end of Step 1 in their respective sections:

  • Client ID: Found at the end of Step 1.

  • Client Secret: Found at the end of Step 1.

Press the blue "Connect" button to save your credentials.

Note: Leaving the Client ID and Client Secret blank will use Paragon development keys.

Connecting to Zendesk

Once your users have connected their Zendesk account, you can use the Paragon SDK to access the Zendesk API on behalf of connected users.

See the Zendesk REST API documentation for their full API reference.

Any Zendesk API endpoints can be accessed with the Paragon SDK as shown in this example.

// You can find your project ID in the Overview tab of any Integration
// Authenticate the user
paragon.authenticate(<ProjectId>, <UserToken>);
// List tickets
await paragon.request("zendesk", "v2/tickets", {
method: "GET",
});

Building Zendesk workflows

Once your Zendesk account is connected, you can add steps to perform the following actions:

  • Create Ticket

  • Update Ticket

  • Add Comment to Ticket

  • Search Tickets

  • Get Ticket by ID

  • Get Users

When creating or updating tickets in Zendesk, you can reference data from previous steps by typing {{ to invoke the variable menu.