> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.it.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Muse

> Connect Meta's Muse agent, or Muse Code, to Automate It

Meta ships Muse two ways: the **Muse** app, an agent that runs tools in its own secure VM, and **Muse Code**, a developer CLI. Both can work with Automate It.

> [!WARNING]
>
> We haven't run either setup end to end yet. This page follows Meta's docs as of November 2026. If a step doesn't match what you see, Meta's docs are the source of truth.

## Muse app

Muse doesn't take a skill folder or an MCP URL in settings. Instead you ask it to [build a custom connector](https://www.meta.com/help/artificial-intelligence/1687253048996149/), and it keeps the credentials in its Secure Credentials Store.

### Get an API key

1. Open **Profile**. On the web, click your avatar at the bottom of the sidebar (`https://automate.it.com/app/settings/profile`). In the mobile apps, tap your avatar in the top left, tap your name at the bottom of the menu, then **Profile**.
2. Under **Developer API Keys**, click **Create Key**.
3. Name it something you'll recognize ("Muse agent") and tick `tasks:read`, `tasks:write`, `content:write`, and `skills:read`. That's enough to create tasks, submit content for review, and read your workspace's voice and formatting skills. Add `files:write` if the agent uploads media.
4. Copy the `ak_…` secret. It's shown **once**. Store it where Muse keeps secrets (below), and never paste it into a chat message.

The full scope table is in [API keys & scopes](https://docs.automate.it.com/api-keys.md).

Then ask Muse:

```text wrap theme={null}
Create a custom connector for Automate It. It's an MCP server at
https://api.automate.it.com/mcp that takes an "Authorization: Bearer <key>" header.
You can also use the automate-it npm CLI (ait), which reads AUTOMATE_IT_API_KEY.
```

When Muse asks for the key, give it through the credentials prompt, not the chat.

## Muse Code

Muse Code [supports remote MCP servers and skills](https://dev.meta.ai/docs/muse-code/extending).

**Remote MCP.** Add `https://api.automate.it.com/mcp` as a `streamable_http` server. Muse Code supports OAuth, so you sign in to Automate It in the browser and there's no key to store. For headless runs, send `Authorization: Bearer ${AUTOMATE_IT_API_KEY}` as a header instead; Muse Code expands `${VAR}` from the environment.

**Skill.** Muse Code reads skills from `~/.agents/skills`. Install the Automate It skill there, plus the CLI it drives:

```bash theme={null}
npm i -g clawhub automate-it
clawhub install @workingdevshero/automate-it --workdir ~/.agents
# extracts to ~/.agents/skills/automate-it
```

The CLI reads `AUTOMATE_IT_API_KEY` from the environment. Keep it in a mode-`600` env file you load with `set -a; . ~/.automate-it.env; set +a`, not an `export` in an interactive shell.

## Try it

```text wrap theme={null}
Use automate-it to write an Instagram caption for our weekend bake sale and submit it for review.
```

The draft lands in your [review queue](https://docs.automate.it.com/workflow/review.md). Muse can revise it. What it may do is bounded by the [workspace role](https://docs.automate.it.com/workspace/team.md) of the account it signs in as. See [Worker mode](https://docs.automate.it.com/guides/worker-mode.md) for the loop.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.