Integration Guide

    Connect WhatsApp to your LastBot

    Let your customers reach your bot on WhatsApp. Your bot answers automatically, and your team can step in from the LastBot Inbox at any time. The whole setup happens inside LastBot: no developer account, app, API key or access token, and no need to create a WhatsApp Business account beforehand. LastBot's setup wizard creates it for you.

    Before you start (time needed: about 10 minutes)

    • •A Facebook account. Log in to it in the browser you will use.
    • •A Meta business portfolio in good standing. If you already run a business on Meta you have one, otherwise you can create it during the setup.
    • •A phone number that does not have WhatsApp on it. This becomes your bot's WhatsApp number and cannot be used in the WhatsApp or WhatsApp Business app afterwards, so use a spare or dedicated business number. You need to receive one verification code on it, by SMS or phone call.
    • •Admin access to your LastBot account, with a bot that is already set up and has your business information added.

    Step by step

    1

    Open Connect channels and tools

    Everything happens inside LastBot: no developer account, app, API key or access token needed.

    • Log in to LastBot as an admin.
    • Open Connect channels and tools.
    2

    Start the WhatsApp authorization

    LastBot opens Meta's setup wizard in a new window.

    • On the WhatsApp card, click Connect, then Authorize. A Facebook window opens.
    • Log in to Facebook if asked, then click Continue to accept Meta's terms.
    Do not close the window or click any other links until you have clicked Finish in step 6. If you interrupt the wizard, the setup can complete on Meta's side without reaching LastBot and you will have to run it again.
    3

    Select your business portfolio

    LastBot creates the WhatsApp Business account for you, so there is nothing to prepare beforehand.

    • Business portfolio: select yours, or choose Create a business portfolio.
    • WhatsApp Business account: leave Create a WhatsApp Business account selected.
    • Click Next.
    • If you are creating a portfolio, fill in your business name, email, category, country, website and time zone, then click Next.
    4

    Add your WhatsApp phone number

    This number becomes the number your customers message.

    • Choose the country code and enter the number.
    • Check the display name customers will see.
    • Choose whether to verify by text message or phone call. For a landline, choose phone call.
    • Click Next.
    5

    Enter the verification code

    Meta confirms you control the number.

    • Enter the 6-digit code you receive on that number.
    6

    Confirm and finish

    The final screens hand the connection back to LastBot.

    • Review what LastBot will be able to access, then click Confirm.
    • Wait for the confirmation screen, then click Finish.
    Total setup time is about 10 minutes.

    Check that it works

    1. 1Back in LastBot, the WhatsApp panel now shows your phone number, your business account ID, a QR code and a chat link.
    2. 2On your own phone, scan the QR code or open the chat link.
    3. 3Send a question your bot should be able to answer. The bot replies in WhatsApp within seconds.
    4. 4Open the Inbox in LastBot: the conversation appears there.
    5. 5Click Assign to yourself and reply as a human agent. Your reply arrives in WhatsApp too.

    That's it. Your WhatsApp number is live.

    Troubleshooting

    Cannot select or create a business portfolio

    Meta limits portfolios per person, and restricted ones are unusable. Click Review for Meta's reason, or use another portfolio.

    Facebook says connected, LastBot still shows Connect

    Run the setup again without leaving the window, picking your existing portfolio, account and number.

    Several WhatsApp Business accounts listed

    Each retry creates one. Keep the one matching LastBot's number.

    Phone number is already linked to another account

    Disconnect it from that account first.

    Meta asks for verification or a payment method

    Not needed to send or receive. Do it for higher limits and a verified display name.

    Message reaches the Inbox but no reply

    Check that the bot is published and has knowledge sources.

    Turning it off

    Click Remove authorization in the WhatsApp panel. Your bot stops replying to WhatsApp messages immediately. This does not remove LastBot as a partner in your Meta Business Manager: to do that, follow Meta's own instructions for removing a business partner.

    Need help setting up?

    Our support team can walk you through the wizard or handle the setup for you.