> For the complete documentation index, see [llms.txt](https://help.blotato.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blotato.com/api/claude-code.md).

# Claude Code

Use Claude Code with Blotato to build AI-powered social media workflows from your terminal.

Looking for ready-made content skills? See [Free Claude Skills](/claude-skills/claude-skills.md) for a 5-skill pack covering brand brief, ideation, writing, grading, and scheduling.

## Tutorials

### Build Your AI Personal Assistant for Social Media Marketing

Learn how to use Claude Code to build your own AI social media manager. Set up Claude Code and use prompts to write content in your brand voice, generate visuals, and post to social media.

{% embed url="<https://youtu.be/XPl6IKDADkU>" %}

### The ULTIMATE Claude Code Tutorial

A full course from first-time setup to building a personalized AI Marketing Officer with skills, quality gate hooks, brand voice, and subagents.

{% embed url="<https://youtu.be/fYX6hHC9FhQ>" %}

### The ULTIMATE AI Coding Guide for Developers

Step-by-step breakdown of AI coding with Claude Code, battle tested with an existing complex codebase. Includes CLAUDE.md rules file and a real feature implementation from scratch.

{% embed url="<https://youtu.be/SDiDkK0r-9c>" %}

## Install Claude Code first

Claude Code is a terminal app from Anthropic. It is not the Claude chat at claude.ai, and it does not come pre-installed. Install it before connecting Blotato:

1. Install Claude Code from the [official Claude Code page](https://claude.com/claude-code)
2. On a Mac, open Terminal (press Cmd + Space, type "Terminal", press Enter). On Windows, open Command Prompt or PowerShell.
3. Type `claude` and press Enter to start a Claude Code session
4. If you see `command not found: claude`, Claude Code is not installed yet -- repeat step 1

The "no installation required" wording in the [MCP Server docs](/api/mcp.md) refers to the Blotato MCP server, which runs remotely. Claude Code itself still needs to be installed on your computer.

## Connect Blotato MCP Server to Claude Code

To use Blotato tools directly in Claude Code, add the Blotato MCP server:

1. Go to [Settings > API](https://my.blotato.com/settings/api) in the Blotato app
2. Under "Claude Code (Terminal)", click **Copy Setup Command**
3. Paste the command into a Claude Code session and let it apply changes
4. Restart Claude Code

Run the setup command inside the Claude Code session in Terminal -- not in a code editor like VS Code. Never paste your API key by itself as a Terminal command (Terminal returns `command not found` for it).

The command adds the Blotato MCP server with your API key:

```bash
claude mcp add blotato \
  --url https://mcp.blotato.com/mcp \
  --header "blotato-api-key: YOUR_API_KEY"
```

For the full setup guide, see [MCP Server Setup](/api/mcp/setup.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.blotato.com/api/claude-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
