> For the complete documentation index, see [llms.txt](https://docs.churned.io/churned-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.churned.io/churned-docs/integrations/deployteq.md).

# Deployteq

Churned integrates with Deployteq to sync customer data and automate workflows based on engagement metrics.

#### How to Connect Deployteq to Churned

1. Log in to the Churned platform and navigate to the “Integrations” section.
2. Click “New Integration” and select Deployteq from the list.
3. You will be prompted to enter the following credentials:

**Required Credentials**

* `webhook` – The Deployteq webhook (datahook) URL, used by Churned to send data to Deployteq.
* `api_key` – The App token that belongs to that webhook, used for authentication when sending data.
* `rest_token` – A Deployteq API token that allows Churned to read and update customer profiles via the Deployteq REST API. **This is a different token than the webhook App token** — the webhook token cannot read or update customer data.
* `portal_url` – The URL of your Deployteq portal, e.g. `https://yourcompany.myclang.com`.

#### How to Retrieve Your Deployteq Credentials

**Webhook URL and its App token (`webhook` + `api_key`)**

1. Log in to your Deployteq portal.
2. Navigate to Settings > Webhooks.
3. Create a new webhook (or open the one set up for Churned) and copy its URL — it looks like `https://webhook.myclang.com/app/api/rest/public/v2/project/datahook/data-receiver/...`.
4. Every webhook has its own App token. Copy the App token that belongs to this webhook — this is the `api_key`.

**REST API token (`rest_token`)**

1. In your Deployteq portal, go to Users and open the **App token system user**.
2. Click **Manage tokens**. You will see a list of tokens (each webhook has its own App token); the one you need typically has the description **“API token”**.
3. Important: the token must have permissions for the **Customer API** (reading and updating customer data). A token without these permissions will authenticate but return `403 Forbidden`. If you are unsure, ask your Deployteq contact to confirm the token has customer permissions.
4. Copy the token and paste it into the Churned integration form as `rest_token`.

**Portal URL (`portal_url`)**

This is simply the address you use to log in to Deployteq, e.g. `https://yourcompany.myclang.com`. Copy it including `https://`, without a trailing slash.

#### Final Steps

1. Click Save and test the connection to ensure everything is working correctly.
2. Once connected, notify the Churned team to synchronize data.

#### Helpful Links

* [Deployteq Customer API documentation](https://documenter.getpostman.com/view/6603240/SzYaUHj8)
