We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

OAuth Setup for Zendesk Spoke Integration with ServiceNow

SujanD345956992
Tera Contributor

I need help configuring the Zendesk Spoke and setting up OAuth between ServiceNow and Zendesk using IntegrationHub.

I’m facing issues with the OAuth setup and connection configuration. Any guidance on creating the OAuth app, configuring credentials, and testing the connection would be appreciated.

2 REPLIES 2

Tanushree Maiti
Giga Sage

Hi @SujanD345956992 

 

Share this doc to Zendesk team to create the connection /client id, secret.

https://www.servicenow.com/docs/r/integrate-applications/integration-hub/setup-zendesk.html

 

Once they share the Endpoint URL , Client id ,secret, - configure oauth as per documentation

 

Create a Zendesk connection

Create a connection between your Zendesk applications and your ServiceNow instance so that your instance can retrieve user data from your applications.

Before you begin

Role required: ServiceNow admin

Procedure

  1. From your ServiceNow instance, navigate to Process Automation > Flow Designer.
    The Flow Designer launches in a new tab.
  2. Select the Connections tab.
  3. Locate your Zendesk connection and then click Add Connection.
    The Create Connection dialog box opens.
  4. On the dialog box, fill in the fields.
    Create Connection dialog boxField Description
    Connection Information
    Connection NameName of the Zendesk connection. This field populates automatically.
    Connection URLURL for the connection. Enter https://<subdomain>.zendesk.com, where <subdomain> is your organization subdomain.
    Credential Information
    OAuth Client IDUnique identifier for your Zendesk OAuth client. Enter the same unique identifier that you specified in Create a Zendesk OAuth client.
    OAuth Client SecretSecret that is assigned to your Zendesk OAuth client. Enter the same secret that you copied in Create a Zendesk OAuth client.
    OAuth Redirect URLURL of the OAuth provider that users are redirected to after authentication. This field populates automatically based on the redirect URL that you specified in Create a Zendesk OAuth client.
  5. Click Create and Get OAuth Token.
    The Zendesk OAuth authorization dialog box opens.
  6. On the dialog box, click Authorize.
    The OAuth access token becomes available for authorizing your Zendesk connection.
  7. In your ServiceNow instance, add OAuth entity profile scope.
    1. Navigate to System OAuth > Application Registry.
    2. Open the record for the Zendesk spoke. For example, Zendesk OAuth.
    3. In the OAuth Entity Profiles tab, open the default record, for example, Zendesk.OAuthProfile.
    4. Insert a new row with these values.
       Field Value
      OAuth Entity Scopeusers:write read
      OAuth scopewrite read

       

      Note: Scope is very important. do not miss it.

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

YashwanthV18760
Giga Guru

Hi @SujanD345956992 

 

  1. Zendesk Spoke Installation and Connection Setup

Install the Zendesk Spoke from the ServiceNow Store.

YashwanthV18760_18-1772685612660.png

 

Navigate to Connection & Credential Aliases in ServiceNow. Search for Zendesk and open the existing Zendesk connection alias.

YashwanthV18760_26-1772685761539.png

 

 

Click on Create New Credential and Connection.

Enter the required connection details using the information obtained from the Zendesk instance.

YashwanthV18760_29-1772685772015.png

  1. OAuth Client Configuration in Zendesk

Log in to the Zendesk Admin Center.

Navigate to Settings and select OAuth Clients.

 

 

YashwanthV18760_30-1772685840426.png

 

YashwanthV18760_31-1772685840430.png

 

Click on Add OAuth Client.

YashwanthV18760_32-1772685840434.png

 

Provide the required details such as:

  • Client Name
  • Client Type as Confidential
  • Redirect URL (as shown in the configuration screenshot)

 

YashwanthV18760_33-1772685878962.png

 

YashwanthV18760_34-1772685878967.png

 

Once the OAuth client is created, copy the Client Secret and store it securely. This secret will be used while configuring OAuth authentication in ServiceNow.

YashwanthV18760_35-1772685878976.png

 

  1. OAuth Configuration in ServiceNow

Return to ServiceNow and enter the OAuth client details collected from Zendesk.

YashwanthV18760_36-1772685878979.png

Complete the configuration and click Create and Get Token.

Verify whether the access token has been generated successfully.
If the token is not available, click Get Token and authenticate using Zendesk credentials.

YashwanthV18760_37-1772685878986.png

 

Approve the authorization request to allow access.

 

YashwanthV18760_38-1772685878991.png

 

  1. OAuth Scope Configuration

Open the OAuth Entity Profile record associated with the Zendesk connection.

YashwanthV18760_39-1772685878994.png

 

Update the Scope field to include: write read

YashwanthV18760_40-1772685916527.png

 

YashwanthV18760_41-1772685916532.png

 

Navigate to OAuth Entity Profiles and update the scope there as well.

 

After updating the scopes, click Get Token again to refresh the access token with the updated permissions.

YashwanthV18760_42-1772685916537.png

 

Additionally, You can refer  Zendesk Spoke • Zurich Data and Automation • Docs | ServiceNow

 

If this answer helped, please mark it as Helpful or Correct.