# 安装 ngrok
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
tar xvzf ngrok-v3-stable-linux-amd64.tgz
# 启动隧道(需要先注册ngrok账号并设置auth token)
./ngrok config add-authtoken 你的ngrok_token
./ngrok http 18789
如果不需接收消息,可跳过Webhook配置
创建配置文件 /home/admin/clawd/config/lark.json:
{
"type": "lark",
"appId": "cli_a9f7700bbbf85bca",
"appSecret": "YOUR_APP_SECRET_HERE",
"verificationToken": "YOUR_VERIFICATION_TOKEN_HERE",
"encryptKey": "YOUR_ENCRYPT_KEY_HERE",
"webhookPath": "/webhook/lark"
}
moltbot gateway restart