> ## Documentation Index
> Fetch the complete documentation index at: https://docs.augmentcode.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Integrate ClickUp

## Introduction

In this page we’ll learn how to configure 2 things:

* Get ClickUp to push events to Cosmos via webhooks

```mermaid theme={null}
sequenceDiagram
	autonumber
	participant SOURCE as ClickUp
	participant COSMOS as Augment Code | Cosmos

	SOURCE->>COSMOS: Webhook: Issue Created (Ticket JSON)
	

```

* Get Cosmos to interact with ClickUp via the ClickUp MCP server

```mermaid theme={null}
sequenceDiagram
	autonumber
	participant SOURCE as ClickUp
	participant COSMOS as Augment Code | Cosmos

	COSMOS->>SOURCE: Read objects via ClickUp MCP server
	SOURCE-->>COSMOS: 200 OK (Sync Complete)
```

## Prerequisites

To configure the one-time connectivity between Cosmos and ClickUp:

**Cosmos**

* any user who can self-create webhooks and configure MCP servers

**ClickUp**

* must have the Owner or Admin role
* must be on the Business Plus plan (to enable Webhooks & Automation Integrations)

## Step 1 - Configure ClickUp to notify a Cosmos webhook

### Webhook receiver in Cosmos

Let’s create a new webhook in Cosmos (so Cosmos can listen to ClickUp events).

Go to Cosmos ([https://cosmos.augmentcode.com](https://cosmos.augmentcode.com)) > Settings > Webhooks ([https://cosmos.augmentcode.com/webhooks](https://cosmos.augmentcode.com/webhooks)) > Create a webhook > Custom Webhooks:

* Enter Description: **ClickUp**
* Keep Shared toggled on
* Click on Create

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-01.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=0d0d912d692dddeabba86c684aacc7c9" alt="" width="2014" height="1674" data-path="images/cosmos-integrations/clickup/clickup-01.png" />

That gives you a url to POST to with a given Bearer token to pass as HTTP header. Curl request would look like:

```shell theme={null}
curl -X POST https://XXX.api.augmentcode.com/webhooks/XXX \
  -H "Authorization: Bearer whsec_XXX" \
  -H "Content-Type: application/json" \
  -d '{"event": "test", "data": "your payload here"}'
```

### Webhook sender in ClickUp

Let’s create a new webhook config in ClickUp (so ClickUp can POST to a given url when certain ClickUp events occur)

In ClickUp as an Owner or Admin, click on your avatar top right > Settings > Automations Manager > Webhooks tab:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-02.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=7e1dfcbf813755e957c9101d61f91cb1" alt="" width="3148" height="1000" data-path="images/cosmos-integrations/clickup/clickup-02.png" />

Click on Create Webhook:

* Title: **Cosmos**
* Description: **Notifies Cosmos when events occur in ClickUp**
* Url: paste the webhook url Cosmos provided
* Headers:
  * keep Content-type: **application/json**
  * add header **Authorization** and as value paste the **Bearer whsec\_xxxx** Cosmos provided
* Keep Webhook status enabled
* Click on Test webhook

You should get a green checkmark confirming that the webhook was invoked:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-03.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=849a7a15feca2cde27f694007616bc38" alt="" width="1312" height="1734" data-path="images/cosmos-integrations/clickup/clickup-03.png" />

Click on Create webhook, you should see you new webhook auto-enabled:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-04.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=1dd522768155363a172643c2ca85504e" alt="" width="2212" height="362" data-path="images/cosmos-integrations/clickup/clickup-04.png" />

Verify that Cosmos received the test payload: go to Cosmos ([https://cosmos.augmentcode.com](https://cosmos.augmentcode.com)) > Settings > Automations > Event Log tab > Click on the last entry with Source = Webhook, you should see this:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-05.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=5f0d0658b31dc61a0a99995980590448" alt="" width="3088" height="888" data-path="images/cosmos-integrations/clickup/clickup-05.png" />

That confirms that Cosmos received the test payload.

Now configure ClicksUp Automations to automatically call the Cosmos webhook when certain events occur in ClickUp.

Go to ClickUp > Settings > Automations Manager > Manage tab > Click on Add Automation:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-06.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=9d87835e49e3a6a0632602a2a98af27e" alt="" width="2218" height="1036" data-path="images/cosmos-integrations/clickup/clickup-06.png" />

Configure Trigger: **Task or subtask created**, and Action: **Call webhook** with Webhook: **Cosmos**, then click on Create:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-07.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=983bb48a1eaaae5f10e5cde130bce91e" alt="" width="2192" height="1684" data-path="images/cosmos-integrations/clickup/clickup-07.png" />

Click again on Add Automation > Trigger: **Task type changed** (From Any Task Type(s) to Any Task Type(s)), and Action: **Call webhook** with Webhook: **Cosmos**, then click on Create:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-08.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=729f8d981899101a15c252b59400a02f" alt="" width="2208" height="1694" data-path="images/cosmos-integrations/clickup/clickup-08.png" />

Click again on Add Automation > Trigger: **Status changed** (From Any Status to Any Status), and Action: **Call webhook** with Webhook: **Cosmos**, then click on Create:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-09.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=baa5ca5a17d2fce8ac9a946980f74e7f" alt="" width="2196" height="1696" data-path="images/cosmos-integrations/clickup/clickup-09.png" />

Click again on Add Automation > Trigger: **Comment added**, and Action: **Call webhook** with Webhook: **Cosmos**, then click on Create:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-10.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=af3a2d0ba6d14b41b2f395ecfd9d8c78" alt="" width="2202" height="1696" data-path="images/cosmos-integrations/clickup/clickup-10.png" />

Rename your automations as **Notify Cosmos On \<THE\_EVENTS\_CONFIGURED\_IN\_TRIGGER>**:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-11.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=f94de5ddd47885cc33f50d9e076d3650" alt="" width="2208" height="1230" data-path="images/cosmos-integrations/clickup/clickup-11.png" />

Create a new test ClickUp task: ClickUp Home > Click on + > Select your project, enter Name: **TestTask02**, then click on Create Task:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-12.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=27949e7da1dd294e7fc5678aad82ea7a" alt="" width="1126" height="694" data-path="images/cosmos-integrations/clickup/clickup-12.png" />

Verify that Cosmos received the payload: go to Cosmos ([https://cosmos.augmentcode.com](https://cosmos.augmentcode.com)) > Settings > Automations > Event Log tab > Click on the last entry with Source = Webhook, you should see this:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-13.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=a4976afb559c44f6f8cbab0125c81d1d" alt="" width="3104" height="1466" data-path="images/cosmos-integrations/clickup/clickup-13.png" />

That confirms that Cosmos received the payload.

At this point ClickUp will automatically notify Cosmos whenever a task is created/updated/commented on ✅

## **Step 2: Integrate with ClickUp via a Service Account**

For Cosmos to interact with ClickUp via a ClickUp service account we’ll leverage the ClickUp remote MCP server and authenticate it with said service account as we’d want Cosmos to run headless automations.

Do NOT authenticate the remote MCP server using your human identity, use the dedicated service account user instead.

As a ClickUp admin, create a dedicated service account user by going to Settings > Admin > People > Invite people > Enter Email: ex: [augment@mycompany.com](mailto:augment@mycompany.com) (you may have to create this email alias on your real admin email so you can receive and accept the invite).

In an incognito window > Accept the ClickUp invite and login in ClickUp as [augment@mycompany.com](mailto:augment@mycompany.com).

In that incognito window > sign in in Cosmos as admin  ([https://cosmos.augmentcode.com](https://cosmos.augmentcode.com)) > Settings > MCP Registry > search **ClickUp** in the list of Featured remote MCP servers:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-14.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=9810006e3caa6c9b2b41d22ba80f9acd" alt="" width="1662" height="888" data-path="images/cosmos-integrations/clickup/clickup-14.png" />

Click on the + next to ClickUp, you should be redirected to a ClickUp consent screen > select the Workspace to grant access to, then click on Connect Workspace:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-15.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=c409c0117634da93f78e6a0198b90bd5" alt="" width="692" height="772" data-path="images/cosmos-integrations/clickup/clickup-15.png" />

You should then be redirected to Cosmos > Cosmos Agent: toggle on, Shared: toggle on, and click on Done:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-16.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=6eb82bfa1932b0a8ed08e49c2c5041c7" alt="" width="858" height="1342" data-path="images/cosmos-integrations/clickup/clickup-16.png" />

Hover over the ClickUp remote MCP server, click on the 3 dots > Click on Test connection

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-17.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=24474072c5378ca56bf3beca08a03829" alt="" width="1258" height="664" data-path="images/cosmos-integrations/clickup/clickup-17.png" />

Select tool: **clickup\_filter\_tasks**, then click on Run test call

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-18.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=fa0c950cf488dab40d1e0401a0b7b8f3" alt="" width="864" height="2572" data-path="images/cosmos-integrations/clickup/clickup-18.png" />

You should see this:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-19.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=23c56648550bfb7c69ec00e31e718e25" alt="" width="864" height="774" data-path="images/cosmos-integrations/clickup/clickup-19.png" />

Now test the end2end connectivity with a new Cosmos session using that remote MCP server.

If you don’t have a Cosmos cloud environment yet, create an empty one for this test: Cosmos > Settings > Environment > Create an environment > Cloud Machine > Name: Test01 > Click on Create Environment.

Go to Cosmos > New session [https://cosmos.augmentcode.com/home](https://cosmos.augmentcode.com/home) > make sure the ClickUp remote MCP server is selected:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-20.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=1120e9d2452f6036355d3be590c03652" alt="" width="1584" height="464" data-path="images/cosmos-integrations/clickup/clickup-20.png" />

Submit this prompt **List the 10 most recent clickup tasks**. In your session’s right drawer you should see the ClickUp MCP tools, and in your session the list of tasks:

<img src="https://mintcdn.com/augment-mtje7p526w/Li1Y4coQkhgYOrJE/images/cosmos-integrations/clickup/clickup-21.png?fit=max&auto=format&n=Li1Y4coQkhgYOrJE&q=85&s=3c2b34564c1cdf8bd3a9c688a0c5b1fd" alt="" width="2780" height="1818" data-path="images/cosmos-integrations/clickup/clickup-21.png" />

Congrats, you can now create Cosmos expert agents that integrate with ClickUp! ✅
