Spaces

Connect Claude Duet to Spaces

Anthropic’s everyday AI agent. Once it is connected, Claude Duet can read and answer your customers’ messages on Instagram, WhatsApp, LinkedIn and Facebook, inside the limits that keep your accounts safe.

The easy way

Paste this into Claude Duet. It creates your account, connects itself, asks a few questions about your business, sends you a link for each chat app and runs a test message. You only type the email code, sign in to each chat app and approve access once.

Set up Spaces for me by following https://www.spacesos.com/agents/claude-duet

Or start free and follow the steps below yourself.

spacesos.com/agents/claude-duet
## For AI agents reading this page

You are reading https://www.spacesos.com/agents/claude-duet. The person wants you to set up Spaces in Claude Duet, so you can answer their messages on Instagram, WhatsApp, LinkedIn and Facebook Messenger. Do every step yourself. The person only types the email code, signs in to each chat app and approves your access once. At any point, get_started on the Spaces server says the next step.

1. Account. If the person has no Spaces account, ask for their email. Call create_account on the onboarding MCP server https://api.spacesos.com/mcp/start (no key; or POST https://api.spacesos.com/v1/signup), ask them for the 6-digit code from their inbox, then call verify_account. It returns an API key and, under connect, the exact step for Claude Duet.
2. Connector. If you can add an MCP server or connector, add https://api.spacesos.com/mcp and let the person sign in with OAuth (no key). Otherwise read https://api.spacesos.com/llms.txt and call the Spaces API with the API key from verify_account as the header Authorization: Bearer <key>. Every tool named below has a REST endpoint listed there.
   Check it worked: call get_started on the Spaces server. If the tools are not there, stop and tell the person what failed.
3. Brief. get_started asks for the business brief. Ask the person its short questions (at most 8) in one message, then save their answers with set_business_brief. Use their words; do not invent facts.
4. Channels. Ask which channels to connect: Instagram, WhatsApp, LinkedIn, Facebook Messenger or TikTok (Facebook Pages is coming soon). Call create_messaging_connect_link once per channel and send one link per channel. TikTok is channel tiktok: profile, videos, posts and drafts, not DMs. Until TikTok approves the app, only tester accounts can sign in, and the link answers NOT_CONFIGURED if the TikTok app credentials are not set. They sign in themselves; WhatsApp is a QR code. For Instagram, ask them to turn on two-step verification in Instagram first: it helps the sign-in go through. The first connect starts the Free plan: 1 account and 20 actions a day. Adding a card starts Pay as you go. A second account needs Pay as you go.
5. Test. Call start_setup_test with the account_id and tell the person what it says (for example: send any message to the account from another phone). Call check_setup_test until it says received, read the brief, answer the message with reply_in_chat, and check again until it says replied.
6. Report. Tell the person what is live, what you will do (answer customers from the brief, hand chats to them when the brief says so) and the limits: new or quiet accounts warm up over four weeks, and on WhatsApp new chats wait up to 24 hours after connecting while replies in existing chats still go out.

Rules: ask before creating an account or connecting anything, never type the person’s passwords or codes for them, and respect every limit Spaces returns (wait for retry_after; never retry a refused send).

Checking for new messages: call wait_for_events. It waits until something new arrives (a message, comment, reaction, invitation or account change) and returns it at once, without touching the platform. Call it again with the next_cursor it gave you. Do not call list_messaging_chats or list_messaging_messages over and over to look for news: repeated checks look like a bot to the platforms and can get the account restricted. If your agent runs on a server, create_event_webhook sends each event to your URL instead.

Connect it

  1. If Claude Duet lets you add a connector or MCP server, add https://api.spacesos.com/mcp, then sign in to Spaces in the browser and approve access. No key is needed.
  2. Otherwise, paste the setup line below into Claude Duet. It reads the Spaces instructions, sets itself up, and asks for the 6-digit code Spaces emails you.

Check it worked

Ask Claude Duet to list your Spaces accounts.

We could not check Claude Duet’s own docs on outside services yet, so these steps are general.

Other clients

FAQ

Questions, answered.

01How do I connect Claude Duet to Spaces?

If Claude Duet lets you add a connector or MCP server, add https://api.spacesos.com/mcp, then sign in to Spaces in the browser and approve access. No key is needed. Otherwise, paste the setup line below into Claude Duet. It reads the Spaces instructions, sets itself up, and asks for the 6-digit code Spaces emails you. The full steps are on this page.

02Do I need to write code to use Claude Duet with Spaces?

No. You can paste the setup line from the top of this page into your AI agent and it does the setup with you. Anything that is yours to decide, like which accounts to connect, it asks you.

03How do I check that Claude Duet is connected?

Ask Claude Duet to list your Spaces accounts.

04What does it cost to use Claude Duet with Spaces?

Free to start, then $19 per connected account a month

05Can Claude Duet message people who have not written to me?

No. Spaces is for conversations people start with you, and for people who know you and expect to hear from you. It is not for messages to strangers.