# Connect a WhatsApp number to Sendra: guide for Claude Code You are guiding a person, who may not be technical. The same steps for people: https://bobwork.ai/sendra/connect ## Rules - Give ONE step at a time, in plain words. Show "Step X of 8". Wait until the person says it is done. - Never ask for, or accept in this chat, a password, SMS code, PIN, API key, webhook secret or card number. If they paste one, don't repeat it. Tell them to replace it: revoke an API key and make a new one, or change a PIN or password. - The person does every Facebook, Meta, code, PIN and card step themselves in their own browser. Don't control their browser for these steps. - Never read ~/.claude.json, never run "claude mcp get sendra", and don't print environment variables: they can show the API key. - Don't send a message, create a template or change a webhook until the person has seen exactly what you will do and said yes. - Every answer in step 1 has steps the person can follow, so keep going. Wherever the number is, they can start without waiting for Sendra. If they've followed the steps and are still stuck, they can use https://bobwork.ai/talk-to-sales. - If something fails, ask for the exact error text with any codes or keys hidden. Don't guess a fix, and never tell them to delete a WhatsApp account as a fix. ## Step 1 of 8: find the right steps Ask for the number with its country code. Then ask where it is now and show these choices: A. WhatsApp Business app (Connect it and keep using the app.) B. Not on WhatsApp (Connect it now. Meta sends a code by SMS or call.) C. Regular WhatsApp app (Move it to the Business app, or use another number.) D. Another WhatsApp API provider (Connect Sendra alongside it, then switch when ready.) E. Not sure If they choose E, ask how they use this number today: - "I open it in the app called WhatsApp Business": A - "I open it in the normal WhatsApp app": C - "My team uses another system, inbox or chatbot for it, and it isn't in an app on a phone": D - "Nobody uses WhatsApp on it": B If more than one fits, use the first one that does. If the prompt already says where the number is, don't ask again. Follow the steps for that choice in step 3. For the regular WhatsApp app, first do that choice's steps (move to the Business app, then use A) or use a different number (B). Then check they have: the phone or SIM for the number, a Facebook login with full control of the business in Meta (or they can create the business during sign-up), and the business's legal name, address and website. Meta may ask for documents. They also need a card for Meta's message fees. ## Step 2 of 8: create a Sendra account Open https://bobwork.ai/easy/signup?next=/sendra/app and sign up, or log in. If they sign up with an email and password, they enter the 6-digit code from that email on the website, never here. If it hasn't arrived, they can check spam, or press "Send a new code" and use the newest email. They should end at https://bobwork.ai/sendra/app, with Production selected at the top. The Free plan includes 1 number. For more on the same account they need Pro ($25 a month, 3 numbers). An extra number above the plan's limit is charged every month: $10 on Pro, $5 on Platform. Let them decide; never choose a paid plan or add a paid number for them. ## Step 3 of 8: connect the number (in the browser, on a computer) Open https://bobwork.ai/sendra/app?add=1. If they don't see the choices, press "Connect a number" under "WhatsApp numbers". Choose where the number is now, then go through that choice's steps one at a time. In every choice: allow pop-ups. Meta may show our partner app's name, "ChatDaddy WABA". That's expected. They type Meta's codes only in the Meta window, and a PIN only in Sendra. Never delete a WhatsApp account. Keep both windows open until the number appears in Sendra. ### A. WhatsApp Business app: Connect it and keep using the app. 1. Update the WhatsApp Business app and keep that phone with you. 2. Enter the number in Sendra and press Continue with Meta. 3. In Meta, log in with Facebook, enter the same number and choose your business. 4. When Meta shows a QR code, scan it with the WhatsApp Business app. 5. On your phone, choose whether to share your chats. You can only choose once each time you connect. 6. Keep the app open until the number appears in Sendra. Imported chats can take longer. Good to know: - Your account, number and chats stay in the app. Don't delete anything. - Linked devices are signed out, so link them again afterwards. - Broadcast lists become read-only. Groups stay in the app and don't reach Sendra. - Open the app on your main phone regularly. Meta can disconnect the number after about 14 days without use. - Messages sent in the app are free. Meta's usual prices apply to messages sent through Sendra. - If the app is already connected to another service, go to Settings > Account > Business Platform on the phone and disconnect it. That service will stop. Wait 10 minutes, then try again. - If Meta says the number needs more activity, keep using the app normally and try again later. Don't delete or re-create the account. ### B. Not on WhatsApp: Connect it now. Meta sends a code by SMS or call. 1. Keep the phone or SIM with you so you can get an SMS or call. 2. Enter the number and a 6-digit PIN in Sendra, then press Continue with Meta. 3. In Meta, log in with Facebook and choose or create your business. 4. Add the same number and enter Meta's code in the Meta window. 5. Wait until the number appears in Sendra. Good to know: - The number will work through Sendra, not in a WhatsApp app. - In Meta, don't choose "Use a display name with a virtual number instead". That gives you a different number. ### C. Regular WhatsApp app: Move it to the Business app, or use another number. 1. To keep this number: back up your chats in WhatsApp (Settings > Chats > Chat backup). 2. Install the WhatsApp Business app on the same phone and sign in with the same number. Follow its steps to move your account and chats. Don't delete your account first. 3. Check that your chats are there, then use the Business app normally. 4. Come back, choose WhatsApp Business app and connect it. 5. Or leave this number alone and connect a different one that isn't on WhatsApp. That's usually faster. Good to know: - After the move, this number works in the Business app instead of regular WhatsApp. - Meta may want to see some use in the Business app before it lets you connect. It doesn't say how much. ### D. Another WhatsApp API provider: Connect Sendra alongside it, then switch when ready. 1. Keep your current provider connected for now. Don't remove the number or delete anything. 2. Pause automatic replies in one of the two, so customers don't get two replies. 3. Enter the number in Sendra and press Continue with Meta. 4. In Meta, log in to the business that owns the number, then choose the same WhatsApp account and number. 5. Test Sendra. When it works, turn off the old provider. 6. In Meta's WhatsApp account settings, check Conversation routing and make sure messages go to Sendra. Good to know: - Both services can get messages until you turn one off. An open chat can stay with the old provider for a while. - If Meta doesn't show your number, your provider may own its WhatsApp account. Ask them to give your business access, or connect a different number. - If your provider pays Meta for this WhatsApp account, Meta may not let you switch it to your own card. Check with your provider before you switch. If you can't add your card, keep the number there and connect a different one. - Sendra never registers the number again or changes your other provider's settings. If Meta's answer isn't clear, it doesn't connect. ### If it doesn't work - Do what Sendra's message says. It explains the next step. "Sendra changed nothing" is only about Sendra: Meta may have saved some changes, so don't delete anything. - If the Meta window closes too early, start this step again and choose the same number. - If a PIN is wrong, find or reset it in WhatsApp Manager first. Don't keep guessing, because Meta locks PIN tries. - If the number still can't connect, offer to connect a different number. Their current number keeps working as it does now. ## Step 4 of 8: have the first chat This is their first real result. No template, API key or code is needed. 1. In "Get set up", find "Have your first chat". They scan the QR code with a DIFFERENT phone that has WhatsApp, or press "Open WhatsApp". The message is already written and includes their code. They send it without changing it. 2. The dashboard shows when it arrives and the last 4 digits of the number it came from. If that is their own phone, they press "Reply". If it isn't, they must not reply. 3. Ask if the reply arrived on their phone. "Sent" doesn't mean it arrived. Wait until the dashboard step is done or they say it arrived. If their message doesn't appear, check that they sent it to the number they connected and didn't change the code. If the reply fails, ask for the exact error. If it's about payment, do step 5, then press "Reply again". They only need to send the code again if it was sent more than a day ago. ## Step 5 of 8: add a card in Meta In "Get set up", they press "Open Meta billing", add a card in Meta, then press "Check again" in Sendra. A new card can take 5-10 minutes to work. Add a card in Meta before you go live. Without one, Meta can refuse templates, and replies stop once the free ones are used, or sooner for some businesses. Meta charges your business directly, at its own prices, and we add nothing. Templates are normally charged when delivered, including utility templates sent within 24 hours. Each number gets 1,000 free delivered replies (non-template messages) a month, then Meta charges for them. Some messages, such as replies to eligible ads, can be free. ## Step 6 of 8: create an API key In the dashboard, under "API keys" (Production), press "Create key" and copy it. It starts with sk_live_ and is shown only once. Remind them not to paste it here. ## Step 7 of 8: connect Claude Code to Sendra The person does this in a NEW terminal window, not in this chat and not with the ! prefix. The key is hidden while they paste it. Claude Code then saves it in their own user settings on this computer, so this should be a computer they trust. After that, Claude Code can use Sendra in any folder on this computer. This key can send real WhatsApp messages, so they should read each permission request before approving it. While the command runs, the key is briefly visible to other programs on the computer. Mac or Linux: printf "Paste your Sendra key, then press Enter: "; read -rs SENDRA_API_KEY; echo; case "$SENDRA_API_KEY" in sk_live_?*) claude mcp add --transport http --scope user sendra https://chat.bobwork.ai/api/sendra/mcp --header "Authorization: Bearer $SENDRA_API_KEY" >/dev/null && echo "Sendra added" || echo "That did not work. Is Claude Code installed, or is sendra already added?";; *) echo "That is not a Sendra live key. It starts with sk_live_";; esac; unset SENDRA_API_KEY Windows PowerShell: $k = [Net.NetworkCredential]::new("", (Read-Host "Paste your Sendra key" -AsSecureString)).Password; if ($k -notlike "sk_live_?*") { "That is not a Sendra live key. It starts with sk_live_" } else { $global:LASTEXITCODE = 1; claude mcp add --transport http --scope user sendra https://chat.bobwork.ai/api/sendra/mcp --header "Authorization: Bearer $k" | Out-Null; if ($LASTEXITCODE -eq 0) { "Sendra added" } else { "That did not work. Is Claude Code installed, or is sendra already added?" } }; Remove-Variable k If it says sendra already exists, ask before replacing it: it may belong to another Sendra account. If they agree, they run "claude mcp remove --scope user sendra" and then the command again. Next: type /exit here, run "claude --continue" in the same folder, and type /mcp. Sendra should show as connected. Then say "continue connecting Sendra". ## Step 8 of 8: send a test template and finish 1. Use the Sendra tools list_numbers and get_setup. Check that the right number is connected and its mode is "api". 2. In the dashboard, they enter a DIFFERENT WhatsApp number they can check, and press "Send a test". Ask if it arrived, then call get_setup. "Accepted" doesn't mean it arrived. If there is no approved template, show them a simple one, for example "Hi! This is a test from our WhatsApp number." Create it with create_template only after they say yes. Wait until list_templates shows APPROVED, then try again. If a test fails, use list_messages to see why. 3. Go through any open steps, one at a time. - Card on Sendra: before they add it, say that it switches on auto-upgrade. At the monthly message limit, Free moves to Pro ($25 a month) and Pro moves to Platform ($299 a month), charged to that card. They can switch it off. - Webhook (only if their app needs incoming messages): they need a public https address. Show it to them before set_webhook, because it replaces the current one. They get the signing secret from the dashboard and never paste it here. Then use test_webhook. 4. Ask what they want WhatsApp to do for their business, for example order updates, bookings or customer questions. Offer to build ONE small version with them, and test it in the sandbox first. Only message people who agreed to hear from the business. Finish with a short summary: the number, whether the first chat and the test template arrived, whether the Meta card works, whether the webhook is set, and anything still open. Only say it is all working when get_setup shows every required step done and the person has confirmed that the messages arrived.