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

# OpenClaw

> Integrate Danube with OpenClaw, the open-source personal AI assistant

<Info>
  [OpenClaw](https://openclaw.ai/) is an open-source personal AI assistant that runs locally on your computer. Install Danube from [ClawHub](https://www.clawhub.ai/skills?q=danube) to connect all your tools through MCP.
</Info>

## Prerequisites

Before starting, ensure you have:

* **OpenClaw installed** - Follow the [OpenClaw setup guide](https://docs.openclaw.ai/start/getting-started)
* **Node.js 18+** - Required for mcp-remote bridge

```bash theme={null}
node --version
openclaw --version
```

## Setup

<Steps>
  <Step title="Install ClawHub">
    Install the ClawHub CLI tool:

    ```bash theme={null}
    npm i -g clawhub
    ```
  </Step>

  <Step title="Install Danube Skill">
    Use ClawHub to install the Danube skill:

    ```bash theme={null}
    clawhub install danube
    ```
  </Step>

  <Step title="Run Setup Script">
    The skill includes a setup script that will configure OpenClaw:

    ```bash theme={null}
    bash ~/.clawhub/skills/danube/scripts/setup.sh
    ```

    When prompted, enter your Danube API key from [danubeai.com/dashboard](https://danubeai.com/dashboard) → Settings → API Keys.

    The script will:

    * Add your API key to `~/.openclaw/.env`
    * Configure OpenClaw to use the Danube MCP server
    * Restart the OpenClaw Gateway

    <Tip>
      You can now use Danube tools through OpenClaw! Try asking:

      > "List available services on Danube"

      > "Search for tools that can send emails"
    </Tip>
  </Step>
</Steps>

***

## Alternative: Environment Variable Setup

If ClawHub installation doesn't work, ensure your API key is set as an environment variable:

```bash theme={null}
# Add to your shell profile (~/.zshrc or ~/.bashrc)
export DANUBE_API_KEY="dk_your_key_here"

# Reload your shell
source ~/.zshrc  # or ~/.bashrc
```

Then restart OpenClaw:

```bash theme={null}
openclaw gateway restart
```

<Note>
  We recommend using ClawHub for installation as it handles configuration securely. The environment variable approach keeps your API key out of configuration files.
</Note>

***

## Available Tools

Once connected, you'll have access to these Danube MCP tools:

| Tool                | Description                                |
| ------------------- | ------------------------------------------ |
| `list_services`     | Browse all available service integrations  |
| `search_tools`      | Semantic search across all available tools |
| `get_service_tools` | Get all tools for a specific service       |
| `execute_tool`      | Run any tool with parameters               |
| `search_skills`     | Search the skills marketplace              |
| `get_skill`         | Get full skill content and instructions    |

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Skill not installing">
    **Check if the skill exists on ClawHub:**
    Visit [ClawHub](https://www.clawhub.ai/skills?q=danube) to verify the skill is available.

    **Try installing again:**

    ```bash theme={null}
    openclaw skills add danube-mcp
    ```

    **Check OpenClaw logs** for error messages.
  </Accordion>

  <Accordion title="401 Unauthorized errors">
    This usually means your API key is invalid, expired, or not being sent correctly.

    **Common cause:** Using `${DANUBE_API_KEY}` instead of the actual key value.

    **Fix:**

    1. Open `~/.openclaw/openclaw.json`
    2. Find the danube skill configuration
    3. Replace `"danube-api-key:${DANUBE_API_KEY}"` with `"danube-api-key:your_actual_key_here"`
    4. Use your actual API key value (not an environment variable reference)
    5. Restart: `openclaw gateway restart`

    **Verify the key works in Claude Desktop first:**
    If the same key works in Claude Desktop but not OpenClaw, it's a configuration issue with how the key is being passed.

    **Get a new API key if needed:**
    Visit [danubeai.com/dashboard](https://danubeai.com/dashboard) → Settings → API Keys
  </Accordion>

  <Accordion title="Tools not appearing">
    **Verify the API key is set:**

    ```bash theme={null}
    echo $DANUBE_API_KEY
    ```

    **Restart OpenClaw:**

    ```bash theme={null}
    openclaw gateway restart
    ```

    **Check for configuration errors:**

    ```bash theme={null}
    openclaw doctor
    ```

    **Verify Node.js is installed (required for mcp-remote):**

    ```bash theme={null}
    node --version  # Should be 18+
    ```
  </Accordion>

  <Accordion title="Connection issues">
    **Check server availability:**

    ```bash theme={null}
    curl https://mcp.danubeai.com/mcp/health
    ```

    **Verify your internet connection**

    **Check OpenClaw Gateway logs** for detailed error messages.
  </Accordion>
</AccordionGroup>

***

## Resources

* [OpenClaw Documentation](https://docs.openclaw.ai)
* [OpenClaw GitHub](https://github.com/openclaw/openclaw)
* [mcp-remote Package](https://www.npmjs.com/package/mcp-remote)
* [Danube Dashboard](https://danubeai.com/dashboard)
* [Danube API Reference](/api-reference/introduction)
* [MCP Specification](https://modelcontextprotocol.io)
