# 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="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-072e4e98be60034a8892b700dbbab484cbe0e0a0%2Fzendesk-chat-1.png?alt=media" alt=""><figcaption><p>API &#x26; SDKs</p></figcaption></figure>

#### Specify client details

<figure><img src="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-7ef275a3bf8c6fd7b4d22bcb27b97578424ebde4%2Fzendesk-chat-2.png?alt=media" 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="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-352f7e8416f75491c47604114f4ee326a6ddf985%2Fzendesk-chat-3.png?alt=media" alt=""><figcaption><p>Backoffice Zendesk Chat connector configuration</p></figcaption></figure>
