# AI Tools

<details>

<summary>OpenClaw for Windows 2022 Server</summary>

OpenClaw is a personal AI assistant that runs on your own server and connects to messaging platforms like WhatsApp, Telegram, Slack, Discord, and more. It enables you to interact with AI models through your preferred communication channels.

As a prerequisite for OpenClaw, we would suggest you have an API key from an AI provider such as Anthropic, OpenAI, OpenRouter, or Google.

#### Initial OpenClaw Configuration

Once connected to your VM, you'll configure OpenClaw with your API key. Open PowerShell as Administrator

1. Right-click the Start button
2. Select 'Windows PowerShell (Admin)' or 'Terminal (Admin)'
3. Click 'Yes' when prompted by User Account Control

#### Configure OpenClaw

In the PowerShell window, run the OpenClaw configuration wizard:&#x20;

```
openclaw configure
```

The wizard will guide you through the setup process. Follow these steps:

1. Select AI Provider: Choose your AI provider
2. Enter API Key: Paste your API key when prompted
3. Select Model: Choose your preferred model
4. Confirm Settings: Review and confirm your configuration

Alternative: Manual Configuration (If you prefer to manually edit the configuration file):

1. Navigate to: C:\Users\Administrator.openclaw
2. Open openclaw\.json in Notepad or your preferred text editor
3. Add your API key to the configuration:&#x20;

```
{
"models": {
"providers": {
"anthropic": {
"apiKey": "sk-ant-YOUR-API-KEY-HERE"
}
},
"defaults": {
"provider": "anthropic",
"model": "claude-sonnet-4-20250514"
}
}
}
```

4. Save the file and close the editor

#### Starting OpenClaw Services

After configuration, start the OpenClaw gateway service:

```
openclaw gateway start
```

You should see output indicating the gateway is starting. Look for messages like:\
⦁ "Gateway starting on port 18789"\
⦁ "Successfully connected to Anthropic API"\
⦁ "OpenClaw is ready"

**Verify Service Status**\
To check if OpenClaw is running correctly:

```
openclaw gateway status
```

The output should show "Status: Running"

</details>
