# Zenoti

Middle uses an API-key-based authentication to connect with Zenoti. You will need to grab an API key from your organization or your customer's organization to integration.

{% embed url="<https://docs.zenoti.com/docs/authentication#api-keys-vs-token-based-authentication>" %}

To attain an API key for your Zenoti organization, follow the instructions below:

1. In Zenoti from the organization level, go to **Admin** > **Setup** > **Apps**
2. [Generate an API Key](https://help.zenoti.com/en/zenoti-apis/create-the-backend-app-and-generate-a-new-api-key.html)

{% embed url="<https://docs.zenoti.com/docs/authentication#api-key-based-authentication>" %}

You will then need to enter that API key [into the app connection page](/middle-docs/building-workflows/connect-or-edit-an-app-connection.md) and click to save.


---

# 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.middle.app/middle-docs/guides/app-reference/zenoti.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.
