> For the complete documentation index, see [llms.txt](https://docs.balkan.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integrations/zesty-application-integration-setup.md).

# Zesty Application Integration Setup

### Getting Started <a href="#h_01ha5ckrn9pz35ar0jkaswjzmn" id="h_01ha5ckrn9pz35ar0jkaswjzmn"></a>

#### Requirements: <a href="#h_01hq2k0bjbzy73x06t3ajx4zv5" id="h_01hq2k0bjbzy73x06t3ajx4zv5"></a>

* API Token
* Instance ID

#### Step to obtain API Token <a href="#h_01ha5ckrn93epf38m902v74hy5" id="h_01ha5ckrn93epf38m902v74hy5"></a>

1. From the [Zesty Dashboard](https://accounts.zesty.io/), click into the specific **Instance** you wish to manage.
2. In the left-hand navigation bar, click on **Instance Name.**

<figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FuqDFaXPePSBGq2eQyaJa%2Fimage.png?alt=media&amp;token=527f9adf-e23d-4228-8ef3-5ea5d07ae32b" alt=""><figcaption></figcaption></figure>

3. Copy the **Instance ZUID**

<figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FUn2YBg9L64YSMloiQhaE%2Fimage.png?alt=media&amp;token=b46f3dcc-928f-4c8c-a726-dcab3cb6de2e" alt=""><figcaption></figcaption></figure>

4. Look for the **"Access Tokens"** menu.

<figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FTFhDxIS5r61DgOCaStmk%2Fimage.png?alt=media&amp;token=51804a1d-6243-4996-9c08-8c22a3685cbb" alt=""><figcaption></figcaption></figure>

5. Enter a name for your token, and give the "**Access Admin**" Role. Then click Create Token and copy the token.

### Configure Zesty with your BalkanID tenant <a href="#steps-to-add-the-integration" id="steps-to-add-the-integration"></a>

1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.
2. Head to *Integrations* > **Add Integration**, select **Zesty.**

<figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2Ft2qY47rxuSkiJGERaHUA%2Fimage.png?alt=media&amp;token=b54d73c0-87a7-4f91-8732-d9e2f1253869" alt=""><figcaption></figcaption></figure>

3. Set up the *Primary Application owner (mandatory)* and the *Description*, if any. Set up Secondary Application Owner(s), if any.
4. Enter your **API Token and Instance ID** that you copied above

<figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2Fu9TdFhVfeMSme2XjAAbX%2Fimage.png?alt=media&amp;token=08b68bf7-ab40-4c12-838b-3b992a7b54c5" alt=""><figcaption></figcaption></figure>

5. Click on next to move onto *Optional Configuration.*
6. Fill **Optional configuration,** if required.

   <figure><img src="https://2975852473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbVGYwk8aSk5yI1GDPEW9%2Fuploads%2FWwMwzBtDCwYSplMbZBtP%2Fimage.png?alt=media&amp;token=0d22f002-4d7b-4d31-84c0-31b50ca63edd" alt="" width="563"><figcaption></figcaption></figure>
7. Once you filled in the information, click **Save**. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the *Integrations* page. When data is available, the integration Status will read **Connected** and the integration Message will read **Data available**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integrations/zesty-application-integration-setup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
