> For the complete documentation index, see [llms.txt](https://docs.cekat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cekat.ai/en/chat-settings/meta-business-agent-mba.md).

# Meta Business Agent (MBA)

**Meta Business Agent (MBA)** is Meta's own AI agent. It replies to customers directly through your WhatsApp Business number, using the business information and context you've set up.

You can set up MBA right from Cekat, from adding a **Knowledge Base** and setting up **Agent Transfer** to creating **Connectors** and testing replies in **Preview**.

This guide walks you through turning on and setting up Meta Business Agent for a WhatsApp number that's already connected to Cekat.

### 1. Getting started with Meta Business Agent

Before you use Meta Business Agent, make sure your Meta and WhatsApp Business accounts meet the requirements.

#### Accept the Terms of Service and add a Line of Credit

Before setting anything up in Cekat:

1. Accept the **Terms of Service (ToS)** for Meta Business Agent in your Meta account.
2. Open **Business Settings** in Meta.
3. Go to **Billing & payments**.
4. Choose **Credit lines**.
5. Add a **Line of Credit (LOC)** and make sure it's funded.

> **Important:** if your Line of Credit isn't funded, Meta Business Agent can still receive messages, but it **can't reply to customers**.

#### Check eligibility

Once the Meta requirements are done:

1. Open **Connected Platform** in Cekat.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FmsEZa1nmQcrpcYIGMlyN%2Fimage%20(16).png?alt=media&#x26;token=ade2efce-e50d-489f-98af-5f2e978936ec" alt=""><figcaption></figcaption></figure>

2. Choose the WhatsApp channel you want to use.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FEaMhKTXbPwwgfNyIGzbK%2Fimage%20(15).png?alt=media&#x26;token=5332a239-66c5-4b71-8371-65a4fd71b8c2" alt=""><figcaption></figcaption></figure>

3. Open **Channel Setup**.
4. Choose the **General** tab.
5. Find the **Meta Business Agent** section.
6. Click **Check Eligibility**.

Cekat checks whether the channel meets the requirements for Meta Business Agent.

#### Run the final check

If the channel passes the eligibility check:

1. Click **Check Status**.
2. Wait for the check to finish.

The final check makes sure the channel is fully ready for Meta Business Agent.

If it passes, the **Check Eligibility** button changes to **Settings**.

That means Meta Business Agent is available and ready to set up.

### 2. Setting up Meta Business Agent

Click **Settings** in the **Meta Business Agent** section to open the settings page.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FstBIb9oLDrul6v8T1oqN%2Fimage%20(14).png?alt=media&#x26;token=c31550a7-73eb-402b-9394-b8ee34d2c274" alt=""><figcaption></figcaption></figure>

The page has three main sections:

* **Knowledge Base**
* **Agent Transfer**
* **Connectors**

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2F4AY5SHUasBaGzQT6VxW4%2Fimage%20(13).png?alt=media&#x26;token=f585c7f9-d043-4959-a1fc-849319cbc342" alt=""><figcaption></figcaption></figure>

You can also use **Preview** to test Meta Business Agent's replies before turning it on for customers.

## 3. Knowledge Base

The **Knowledge Base** holds the information Meta Business Agent refers to when answering customer questions.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FIxkyTCOBHnbYfIrLSvaz%2Fimage%20(12).png?alt=media&#x26;token=8a105c20-bc00-4e00-97e4-339b710b9042" alt=""><figcaption></figcaption></figure>

You can add to the Knowledge Base from four sources:

* **Business Info**
* **Website**
* **File**
* **Q\&A**

### A. Business Info

Use **Business Info** to give the basics about your business.

This can be the main reference when there's no more specific knowledge to answer a customer's question.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FtMGFOmvvdjZQRzQBppMN%2Fimage%20(11).png?alt=media&#x26;token=9a3774d2-71fa-4f26-a775-9dedcc98e4ae" alt=""><figcaption></figcaption></figure>

Fill in the fields with your business information:

#### General information

* **Business description**: what your business does, and the products or services you offer.
* **How to purchase**: how customers can buy from you.

#### Policies

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FHtNtHFw0L4tcqGWfZEHN%2Fimage%20(10).png?alt=media&#x26;token=c735f7ca-1b6a-4bed-9e4e-4d7ce0f86240" alt=""><figcaption></figcaption></figure>

* **Payment methods**: the payment methods you accept.
* **Delivery and shipping**: delivery details, couriers or estimated delivery times.
* **Return policy**: your product return policy.

#### Contact information

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2F0EQZnRDTX7EuaRvQy56O%2Fimage%20(9).png?alt=media&#x26;token=6b2c2948-af21-4c26-9b8b-561a2d1810bb" alt=""><figcaption></figcaption></figure>

* **Email**: the business email address customers can use.
* **Hours of operation**: your opening days and hours.
* **Address**: your business or store address.

Each field can hold up to **3,000 characters**.

Keep the information clear and accurate, because Meta Business Agent may use it when answering customers.

### B. Website

Use the **Website** tab to add your business website as a source of information.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FoIbHNvMR72OfkE8YYrPX%2Fimage%20(8).png?alt=media&#x26;token=cc00055e-22aa-48cb-852f-6a51d8d9149d" alt=""><figcaption></figcaption></figure>

Meta crawls the website you add and uses its content as knowledge for the agent.

#### Adding a website

1. Open the **Website** tab.
2. Enter the URL in the **Website URL** field.
3. Click **Add Website**.
4. Wait for the crawl to finish.

Meta does the crawling, and it can take a while.

> **Note:** you can only add **1 URL per submission**. You can't edit a URL once it's added. To replace it, delete the old URL and add the new one.

### C. File

Use the **File** tab to add documents or images Meta Business Agent can read as a source of information.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FzxeLVmLs6cVyfif9nkVW%2Fimage%20(7).png?alt=media&#x26;token=2b36cf0b-8709-415b-be0f-8e3051c35b8b" alt=""><figcaption></figcaption></figure>

#### Uploading a file

1. Open the **File** tab.
2. Drag and drop a file into the upload area, or click **Choose file**.
3. Choose the file you want to add.
4. Wait for the upload to finish.

Supported formats:

**PDF, DOC, DOCX, PNG, JPG and JPEG**

The maximum size is **24 MB per file**.

> **Note:** you can't replace a file with a new version directly. Delete the old file first, then upload the latest version.

### D. Q\&A

Use **Q\&A** to give clear answers to questions customers ask often.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2F50xemQ019GO1cTZ6Opbb%2Fimage%20(6).png?alt=media&#x26;token=3cf4cdad-d0e4-4967-a3a0-cdc8a4b92387" alt=""><figcaption></figcaption></figure>

Q\&A works best for information with a specific question and answer, such as prices, how to order, business policies or product details.

#### Adding a Q\&A

1. Open the **Q\&A** tab.
2. Click **Add Q\&A**.
3. Enter a question customers often ask.
4. Enter the answer the agent should give.
5. Save the Q\&A.

Add Q\&As for important questions that need a consistent, specific answer.

## 4. Agent Transfer

**Agent Transfer** lets Meta Business Agent hand a conversation over from AI to a human agent.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FU85cKequCdW5iElUM9dv%2Fimage%20(5).png?alt=media&#x26;token=4afdd526-8b94-4e01-87f7-4ff389953fa6" alt=""><figcaption></figcaption></figure>

Agent Transfer is available as a **tool** that Meta Business Agent can call.

When it calls the tool, the conversation is passed straight to a human agent to handle manually.

> **Good to know:** Agent Transfer in MBA has no condition settings or custom triggers to decide when a handoff happens. A handoff happens whenever Meta Business Agent calls the Agent Transfer tool.

## 5. Connectors

**Connectors** let you create custom tools so Meta Business Agent can connect to external APIs or systems.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2F7tljlKxxSUNCuTrOXtKJ%2Fimage%20(4).png?alt=media&#x26;token=5539f2d3-0eb2-4870-8e62-7c6197b905d9" alt=""><figcaption></figcaption></figure>

You can set up a connector with details such as:

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FmPgQhvMZfsYWpQ7A89xB%2Fimage%20(3).png?alt=media&#x26;token=b48850a8-9c79-459a-a9b0-225532e694dc" alt=""><figcaption></figcaption></figure>

* Tool name
* HTTP method
* Webhook address
* API key
* Other API settings

Once it's set up, Meta Business Agent can call the connector whenever it needs something from the external system.

#### Additional payload limitation

**Additional payload isn't sent when a connector is called.**

Meta Business Agent doesn't have direct access to Cekat's **conversation** or **contact** data to use as additional payload.

That means connectors that need this data can't be used for some actions, such as:

* Changing labels based on conversation data.
* Changing the pipeline using contact data.
* Running other actions that need conversation or contact data from Cekat.

Before creating a connector, make sure the API you're using doesn't depend on this data.

## 6. Previewing Meta Business Agent

Before turning Meta Business Agent on for customers, use **Preview** to see how it responds.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2Fdczyjd86KZHOzf6t9d71%2Fimage%20(2).png?alt=media&#x26;token=dacee367-5e80-4f71-96d3-1fe624ab9e92" alt=""><figcaption></figcaption></figure>

To open Preview:

1. Finish setting up your **Knowledge Base**, **Agent Transfer** or **Connectors** as needed.
2. Click **Preview** at the top right of the page.
3. Type a message in the chat field.
4. Check Meta Business Agent's reply.

Click **New test** to start a fresh conversation.

Preview runs directly on Meta's system and **isn't charged**. The Preview page shows this as **Runs on Meta, not billed**.

Use Preview to make sure the knowledge and replies are right before turning the agent on for customers.

## 7. Turning on MBA for WhatsApp

Once setup is done, Meta Business Agent **isn't used automatically** to answer customers yet.

You need to choose MBA as the AI Agent on the WhatsApp channel you want to use.

#### Activating Meta Business Agent

1. Open **Inboxes**.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2Fzy7RAhLObXoHwpshEhru%2Fimage%20(1).png?alt=media&#x26;token=5439ea69-99e0-490c-bb88-db56e3cf092a" alt=""><figcaption></figcaption></figure>

2. Choose the WhatsApp channel or number you want to use.
3. Open the **Basic** tab.
4. Click the **AI Agent** dropdown.

<figure><img src="https://3693109682-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZNZlvyOVkZXyd3pz2Cql%2Fuploads%2FWof1dczOof7hfJC6ky73%2Fimage.png?alt=media&#x26;token=368a11f3-9d47-48a9-8d43-13e1c969a355" alt=""><figcaption></figcaption></figure>

5. Choose **Meta Business Agent**.
6. Click **Save**.

Once saved, **Audience** is set to **All Customers** automatically.

Meta Business Agent will then start answering customer conversations on that WhatsApp number.

> **Important:** make sure the Line of Credit in your Meta account is funded. Without an active Line of Credit, MBA can receive messages but can't send replies.
