# Set up Zenloop Integration (via CrossEngage Webhook)

Before you begin, you will need the following:

* CrossEngage account
* zenloop Account

### **Fetch your Zenloop API Token**

To access access your API Token in Zenloop, go to Settings -> zenAPI.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FoWoMjNSImgN4unVVTvmw%2FZenloop_API_Token.png?alt=media&#x26;token=4309bead-1ab1-42cd-971a-0335529d61d9" alt=""><figcaption></figcaption></figure>

You can also fetch your token/key using an API Client Application such as Postman. Simply send a POST request with your username and password to the Zenloop API, and you will receive the key labeled as "jwt".

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2Fn4tutGAdUoVOjFIMuVAk%2FPostman_Zenloop_API_Token.png?alt=media&#x26;token=cd0530bf-f719-4930-9c26-b30be4f2dcd3" alt=""><figcaption></figcaption></figure>

### Set up CrossEngage Webhook Integration

* In the CrossEngage app, navigate to `Settings` > `Integrations`.
* Click the `Add new integration` button in the top right corner of the page.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FAgS47R9XoM50Wg0ysO8G%2FIntegrations_new.png?alt=media&#x26;token=f0b23923-4d5f-4b08-85d8-b97df995be9f" alt=""><figcaption></figcaption></figure>

* &#x20;Search for 'webhook'  and click **Set up.**

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2FAssbCrU7pujLgNzQoowO%2FIntegrations_Webhook.png?alt=media&#x26;token=eda410c6-53ac-4d81-9fde-3a085d2b64c9" alt=""><figcaption></figcaption></figure>

Using this information, you can now complete the setup form.

* Method: POST
* Destination URL: <https://api.zenloop.com/v1/surveys>
* Authentication: No authentication
* Append HTTP Headers: Add a header with the header key "authorization" and the header value "Bearer YOUR-API-TOKEN".
* Content type: application/JSON
* Click Apply.

<figure><img src="https://985110910-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0Hio8LJewN8lQY2Vlqy0%2Fuploads%2F0aoTuQa2JzZ7RTM0ZhE1%2FIntegrations_Zenloop_Form.png?alt=media&#x26;token=32077e3a-afc3-4548-95de-16d773d75de8" alt=""><figcaption></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://documentation.crossengage.io/data-and-engagement-platform/messages/integrations/channels/webhooks/zenloop-via-crossengage-webhook/set-up-zenloop-integration-via-crossengage-webhook.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.
