OpenClaw Integration Setup
How to install and configure the SocialRails OpenClaw skill for chat-based social media management.
Coming Soon: The
openclaw-socialrailsnpm package is not yet published. Once available, you'll be able to install it withopenclaw 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
- Go to your SocialRails Dashboard
- Click Create Key
- Name it something like "OpenClaw"
- Select scopes: read, write, and ai for full access
- Copy the key (it's only shown once!)
Step 2: Install the Skill
openclaw install socialrailsStep 3: Configure Your API Key
openclaw config socialrails apiKey sr_live_your_key_hereOptionally, if you're using a custom API endpoint:
openclaw config socialrails baseUrl https://socialrails.com/api/v1Step 4: Test It
> socialrails list-accountsYou 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
writescope - 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.