OpenClaw CLIOpenClaw Integration Setup

OpenClaw Integration Setup

How to install and configure the SocialRails OpenClaw skill for chat-based social media management.

OpenClaw

Coming Soon: The openclaw-socialrails npm package is not yet published. Once available, you'll be able to install it with openclaw install socialrails. This page documents the planned setup process.

OpenClaw is a chat-based command interface that lets you manage tools and services through natural language. The SocialRails skill for OpenClaw lets you schedule posts, view analytics, and generate AI content, all from your chat interface.

Prerequisites

  • A SocialRails account on the Creator plan or above
  • OpenClaw installed on your machine
  • A SocialRails API key with the appropriate scopes

Step 1: Get Your API Key

  1. Go to your SocialRails Dashboard
  2. Click Create Key
  3. Name it something like "OpenClaw"
  4. Select scopes: read, write, and ai for full access
  5. Copy the key (it's only shown once!)

Step 2: Install the Skill

openclaw install socialrails

Step 3: Configure Your API Key

openclaw config socialrails apiKey sr_live_your_key_here

Optionally, if you're using a custom API endpoint:

openclaw config socialrails baseUrl https://socialrails.com/api/v1

Step 4: Test It

> socialrails list-accounts

You should see your connected social media accounts listed. If you get an error, double-check your API key and plan.

Configuration File

The configuration is stored in ~/.openclaw/openclaw.json:

{
  "skills": {
    "socialrails": {
      "apiKey": "sr_live_your_key_here",
      "baseUrl": "https://socialrails.com/api/v1"
    }
  }
}

Troubleshooting

  • "API key not configured", Run openclaw config socialrails apiKey <your-key>
  • "API access not available", Your SocialRails plan must be Creator or above
  • "API key does not have write scope", Create a new key with the write scope
  • Rate limit errors, Your plan's hourly limit applies to all API usage, including OpenClaw

Next Steps

See OpenClaw Commands for all available commands and examples.