# Zendesk Chat

### **Setup the App and Administrator account**

Sign up with Zendesk: <https://www.zendesk.com/register/>

### **Register OAuth app / API client**

Now you need to add an OAuth application in Settings. In Settings navigate to: Account > API & SDKs and its API section.

Click **Add API client**.

<figure><img src="/files/8jHJLwbHKUiFbAzSQK1q" alt=""><figcaption><p>API &#x26; SDKs</p></figcaption></figure>

#### Specify client details

<figure><img src="/files/sbrDjUmNhYnKOBuEbwLH" alt=""><figcaption><p>Specify client name, company and redirect URLs</p></figcaption></figure>

#### Specify Client ID and Redirect URL(s)

You need to specify the Client ID and redirect URLs. The redirect URL should be `https://api.acme.appmixer.cloud/auth/zendesk/callback` (replace `acme` with your subdomain).

Client ID and secret are generated automatically. Once your OAuth client is now ready, you can see it in the list of OAuth clients. Make sure to copy the client ID and secret.

#### Set `clientId`, `clientSecret` and `subdomain` when connecting account

The last step is to configure clientId, clientSecret and subdomain while connecting Zendesk Chat component in a flow.

Note that the `subdomain` is the first part of your Zendesk URL. For example, if your Zendesk URL is `https://mycompany.zendesk.com`, then your subdomain is `mycompany`. In our example, the subdomain is `acme`.

<figure><img src="/files/9qWB5AsscDkCgOGWTzEb" alt=""><figcaption><p>Backoffice Zendesk Chat connector configuration</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmixer.com/6.0/6.1/app-registration/zendesk-chat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
