WAB - Configure Laminin WhatsApp for Business

Once you've created a WhatsApp for Business App in Meta you can configure Laminin WhatsApp for Business

Laminin

  1. 1. Log into Laminin and click on the Admin menu

    Log into Laminin and click on the Admin menu
  2. 2. Click on Integrations

    Click on Integrations
  3. 3. Click on WAB Accounts

    Click on WAB Accounts
  4. 4. Click on "Add" to add a new WhatsApp Config

    Click on "Add" to add a new WhatsApp Config
  5. 5. Type the name of this new WhatsApp Config

    Type the name of this new WhatsApp Config
  6. 6. Add a Verify Token

    Ensure this is a strong token that cannot be guessed

    Add a Verify Token
  7. 7. Type the Welcome Reply which is the message that a client will receive when sending a new message to your WhatsApp number

    Type the Welcome Reply which is the message that a client will receive when sending a new message to your WhatsApp number
  8. 8. Click on Save

    Click on Save

Meta for Developers

  1. 9. Go to Meta for Developers and open your WhatsApp for Business app. Click on Webhooks.

    Go to Meta for Developers and open your WhatsApp for Business app. Click on Webhooks.
  2. 10. Click on the dropdown

    Click on the dropdown
  3. 11. Select WhatsApp Business Account

    Select WhatsApp Business Account
  4. 12. Click on Subscribe to this object

    Click on Subscribe to this object

Laminin

  1. 13. Go back to Laminin to your WhatsApp Config and copy the URL in the "Messages Endpoint" field

    Go back to Laminin to your WhatsApp Config and copy the URL in the "Messages Endpoint" field

Meta for Developers

  1. 14. Back at Meta for Developers, paste the Messages Endpoint in the "Callback URL" field

    Back at Meta for Developers, paste the Messages Endpoint in the "Callback URL" field

Laminin

  1. 15. Go back to Laminin and copy the Verify Token

    Go back to Laminin and copy the Verify Token

Meta for Developers

  1. 16. Back at Meta for Developers paste the copied token in the "Verify token" field

    Back at Meta for Developers paste the copied token in the "Verify token" field
  2. 17. Click on "Verify and save"

    Click on "Verify and save"

Laminin

  1. 18. Refresh your Laminin WhatsApp Config page, it should now show "Is Verified" with a green tick

    Refresh your Laminin WhatsApp Config page, it should now show "Is Verified" with a green tick

Meta for Developers

  1. 19. Back at Meta for Developers, click on "Subscribe"

    Also note the API version, in this example it is v19.0. This must be updated in Laminin.

    Back at Meta for Developers, click on "Subscribe"
  2. 20. You will receive a notification that you are successfully subscribed to messages. Click on Close.

    You will receive a notification that you are successfully subscribed to messages. Click on Close.
  3. 21. Next let's configure a WhatsApp for Business number that will be used to send and receive WhatsApp messages

  4. 22. Click on WhatsApp

    Click on WhatsApp
  5. 23. Click on API Setup

    Click on API Setup
  6. 24. Click on the From dropdown

    Click on the From dropdown
  7. 25. Click on Add phone number

    Click on Add phone number
  8. 26. Enter your Business name

    Enter your Business name
  9. 27. Click on the Category dropdown

    Click on the Category dropdown
  10. 28. Select the category that best describes your business

    Select the category that best describes your business
  11. 29. You can optionally provide a Business description and click on "Next" when done

    You can optionally provide a Business description and click on "Next" when done
  12. 30. Click on the Country Code drop down and select your country

    Click on the Country Code drop down and select your country
  13. 31. In this example I typed ZA and selected +27 for South Africa's country code

    In this example I typed ZA and selected +27 for South Africa's country code
  14. 32. Enter your phone number that you would like to configure for WhatsApp for Business

    Please note you will need to be able to receive either a text message or phone call on this number

    Enter your phone number that you would like to configure for WhatsApp for Business
  15. 33. In this example I chose "Phone call" as the verification method

    In this example I chose "Phone call" as the verification method
  16. 34. You will then receive an automated phone call on this number from Meta with a code which you need to enter. Click on Next once done.

    You will then receive an automated phone call on this number from Meta with a code which you need to enter. Click on Next once done.
  17. 35. The Phone Number is now verified. Select the new phone number in the From dropdown and copy the "Phone number ID".

    The Phone Number is now verified. Select the new phone number in the From dropdown and copy the "Phone number ID".

Laminin

  1. 36. Go back to Laminin to your WhatsApp Config and paste the Phone Number Id into the "Phone Number Id" field

    Go back to Laminin to your WhatsApp Config and paste the Phone Number Id into the "Phone Number Id" field
  2. 37. Enter the phone number in the "Phone Number" field

    Enter the phone number in the "Phone Number" field
  3. 38. You can also update the API URL with the correct version, in this case v19.0

    Refer to step 19 for more information on where to find the API version

    You can also update the API URL with the correct version, in this case v19.0
  4. 39. Click on Save

    Click on Save
  5. 40. Lastly we will configure a permanent access token

Meta Business

  1. 41. Go to business.facebook.com, select your business and click on "Business Settings"

    Go to business.facebook.com, select your business and click on "Business Settings"
  2. 42. Click on "System users"

    Click on "System users"
  3. 43. Click on Add

    Click on Add
  4. 44. Read through and accept the non-discrimination policies

    Read through and accept the non-discrimination policies
  5. 45. Enter a name for the System User and select Admin as the System User Role. Click on "Create system user" when done.

    Enter a name for the System User and select Admin as the System User Role. Click on "Create system user" when done.
  6. 46. Once the System User is created, click on "Generate New Token"

    Once the System User is created, click on "Generate New Token"
  7. 47. Choose the App that this token will be generated for, in this example I chose my WhatsApp for Business app

    Choose the App that this token will be generated for, in this example I chose my WhatsApp for Business app
  8. 48. Choose when this token will expire

    Choose when this token will expire
  9. 49. Scroll down to the bottom and tick the whatsapp_business_management and whatsapp_business_messaging permissions and click on Generate Token

    Scroll down to the bottom and tick the whatsapp_business_management and whatsapp_business_messaging permissions and click on Generate Token
  10. 50. Highlight and copy the Access Token, then click on Ok

    Note you will not be able to access this token again, so ensure you copy it before clicking on Ok. If you make a mistake, you will need to generate a new token following the steps from Step 46.

    Highlight and copy the Access Token, then click on Ok

Laminin

  1. 51. Go back to the Laminin WhatsApp Config and paste the newly created token in the "Api Token" field

    Go back to the Laminin WhatsApp Config and paste the newly created token in the "Api Token" field
  2. 52. Click on Save

    Click on Save