# 🔧 Connecting Your AI to Taskr

## 2.7 Setting Up OpenClaw

OpenClaw is a personal AI assistant that works from WhatsApp, Telegram, or any chat app you already use. When connected to Taskr, it can manage tasks and track progress for work that goes beyond coding—research, email workflows, project management, and more.

### What is OpenClaw?

Think of OpenClaw as an AI that actually does things for you: clears your inbox, manages your calendar, handles research, and now—with Taskr—tracks all that work in an organized way. It connects to Taskr through **ClawHub**, an open registry for AI agent skills.

### Step 1: Install the Taskr Skill

Run this command to install the Taskr skill from ClawHub:

```bash
npx clawhub@latest install taskr
```

This downloads the Taskr skill and makes it available to your OpenClaw agent.

### Step 2: Configure Your Credentials

OpenClaw runs on a server without a browser, so it uses an **API key** instead of the browser sign-in (there's no browser to open on a headless gateway). Add your Taskr credentials to your OpenClaw gateway config:

```json
{
  "skills": {
    "entries": {
      "taskr": {
        "env": {
          "MCP_USER_API_KEY": "YOUR_API_KEY_HERE",
          "MCP_PROJECT_ID": "YOUR_PROJECT_ID_HERE"
        }
      }
    }
  }
}
```

- **`MCP_USER_API_KEY`** — your API key. Find it in Taskr: profile → **API Keys** → click the eye icon → copy. Keep it secret!
- **`MCP_PROJECT_ID`** *(optional)* — pins OpenClaw to a specific project. Find it under Projects (starts with `PR_`). Omit it and Taskr uses your most recent project, or let the agent switch with the `project` tool.

> Headless environments (OpenClaw, CI servers) use an API key because they can't open a browser for sign-in. Interactive tools like Cursor and Claude Desktop use the browser sign-in instead—no key required.

### Step 3: Start Using It

Once configured, your OpenClaw agent will automatically use Taskr for substantial work. Just tell it what you need:

- **"Research competitors for my new product and track your findings"**
- **"Plan out the launch for next month's campaign"**
- **"What tasks are still open from yesterday?"**

Your agent creates tasks, works through them, and writes notes—all visible in real-time on the Taskr web app or VS Code extension.

### Learn More

- [OpenClaw](https://openclaw.ai) — The AI that actually does things
- [ClawHub](https://clawhub.ai) — Skill registry for AI agents
- [Taskr on ClawHub](https://clawhub.ai/echo-of-machines/taskr) — The Taskr skill listing

---
