> ## Documentation Index
> Fetch the complete documentation index at: https://developer.hubmessage.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Coexistence

> Connect a number that is already in use on WhatsApp Business to the Official API

export const frontendUrl = 'https://app.hubmessage.io';

export const projectName = 'Hub Message';

## Overview

**Coexistence** mode allows you to connect a number that is already in use in the **WhatsApp Business** app to the **WhatsApp Official API**, while keeping the conversation history and the ability to keep using the app in parallel.

## Requirements

* **Business Portfolio (BM)**: you need to have a business portfolio set up (verified, if possible. This gives the BM more credibility with Meta)
* **Account administrator**: you'll need to have an administrator profile on the business account and on Facebook
* **Have the number in the WhatsApp Business app**: to use this connection method, the number needs to be connected in the WhatsApp Business app
* **Have access to the number in the app**: to complete the connection, you need access to the business number in the app, since you'll receive a code from Meta and will also need to scan a QR Code

## Important information

* **Eligible number**: not all numbers will be eligible for connection, as Meta evaluates the usage history in the WhatsApp Business app. If you try to connect and Meta returns an eligibility-related error, you'll need to keep using the number for a while longer before trying to connect again
* **Message templates are billed**: when you send a message template, you'll be billed according to the billing rules defined by the Official API
* **WhatsApp Desktop for Windows is not compatible**: after connecting through the Official API, messages sent and received via WhatsApp Desktop will stop working
* **You must keep using the WhatsApp Business app**: even while using the Official API, it's extremely important to keep accessing the WhatsApp Business app at least once every 15 days. This is necessary because Meta may remove the link with the Official API otherwise
* **Use of WhatsApp Web**: after connecting to the Official API, your device will be disconnected from WhatsApp Web. You can reconnect afterward to use it again

## Adding a number through Meta

### Step 1 - Access the Business Portfolio (BM)

* Go to: [business.facebook.com](https://business.facebook.com/)
* Click the gear icon for the relevant Portfolio

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-1.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=e3ee430ff0ff941e06ebdea670f72a03" alt="Access Business Portfolio" width="449" height="661" data-path="images/coexistencia-1.png" />
</Frame>

### Step 2 - Access the WABA (Business Account) screen

* Click **"WhatsApp Accounts"**

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-2.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=8c4fed65a66251b75ee05ffcbb09c488" alt="WhatsApp Accounts" width="471" height="731" data-path="images/coexistencia-2.png" />
</Frame>

### Step 3 - Add a new WABA and a new number

You can add a WABA directly through Meta.

* Click the **Add** button

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-3.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=dbd87a4d92f2985abed553b8183cfa64" alt="Add button" width="1203" height="246" data-path="images/coexistencia-3.png" />
</Frame>

* Click the **Link a WhatsApp Business account** option

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-4.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=f8f4f80883a2c356bc4f22f7e9d38c91" alt="Link WhatsApp Business account" width="1173" height="433" data-path="images/coexistencia-4.png" />
</Frame>

### Step 4 - Add a number

* Add the business number you want to link to this WhatsApp account in your portfolio

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-5.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=02286cd70f09203117c1f521e7ed32de" alt="Add business number" width="925" height="517" data-path="images/coexistencia-5.png" />
</Frame>

### Step 5 - Validate the code

* You'll receive a code on your WhatsApp
* Enter the code and then click **Continue**

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-6.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=8da80e5ee2a066e01651f150c3015d11" alt="Validate code" width="1041" height="577" data-path="images/coexistencia-6.png" />
</Frame>

### Step 6 - Business number added on Meta

* After validating the number, a window will appear letting you know your number has been added to your WhatsApp account in the respective Business Portfolio (BM)

<Frame>
  <img src="https://mintcdn.com/hubmessage-2b5e33d5/IO7XX-F8J3cnZZV0/images/coexistencia-7.png?fit=max&auto=format&n=IO7XX-F8J3cnZZV0&q=85&s=9dc39b8ebc587f8961ec9012d6f3af06" alt="Number added on Meta" width="793" height="407" data-path="images/coexistencia-7.png" />
</Frame>

### Step 7 - Connection in Hub Message

After adding the number through Meta, you'll be able to connect it to the Official API through Hub Message.

<Note>
  This same process could also have been done directly through the SDK. This is just one of the ways to add a number. We recommend doing everything directly through Hub Message, since your number will already be connected once the process is finished.
</Note>
