# How to Train Your Chatbot Using Zendesk Tickets & Knowledge Base

### Step-by-Step Instructions

#### 1. Reconnect Your Zendesk Account

To enable ticket and knowledge base training, you’ll first need to reconnect Zendesk with additional permissions.

Go to: 👉 <https://app.wonderchat.io/settings?tab=integrations>

Under **Zendesk**, click the **Connected** button to reconnect your account.\
This is required so Wonderchat can read your Zendesk help center and past tickets.

***

#### 2. Open Your Chatbot’s Data Sources

Once Zendesk is reconnected, go to your chatbot settings:

**Edit Chatbot → Data Sources → Zendesk**

You should now see a **Sync** button.

<figure><img src="/files/vaLZpyPr8tubQl3zfDZF" alt=""><figcaption></figcaption></figure>

***

#### 3. Configure and Start the Sync

Click **Sync** to view the available sync options.\
After reviewing the options, confirm the sync.

Wonderchat will then begin training your chatbot using:

* Past Zendesk support ticket
* Zendesk help center articles (if selected)

<figure><img src="/files/JM0BzgaDSFYrCrLeHHJr" alt=""><figcaption></figcaption></figure>

***

#### 4. Review Trained Content

Once the sync is complete, you’ll be able to see:

* Which tickets were used for training
* Which Zendesk articles were included

Your chatbot will immediately start using this data to improve its responses.

***

### Important Note

If your chatbot is already trained on your Zendesk help center using direct URLs, syncing Zendesk articles again may be redundant.

If the help center training is already working well for you, we recommend syncing **tickets only**, as this typically provides the most additional value.


---

# 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.wonderchat.io/setup-guides/training-your-chatbot/how-to-train-your-chatbot-using-zendesk-tickets-and-knowledge-base.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.
