# System user token

### 4. System User token <a href="#id-4.-system-user-token" id="id-4.-system-user-token"></a>

You have now entered the identification that WhatsApp needs from our software system. Now, for our system to connect to your number, we need 3 items or identifiers from you. These are:

1. System User token
2. Phone number ID
3. WhatsApp Business Account ID

#### 4.1 Add System User if none existed <a href="#id-4.1-add-system-user-if-none-existed" id="id-4.1-add-system-user-if-none-existed"></a>

Head back to [Business Manager](http://business.facebook.com/settings/system-users/61551346053861?business_id=1501389280339074) to generate a system token from someone who is a System user:

<figure><img src="/files/4VuWBEABpYsCf8ied196" alt=""><figcaption></figcaption></figure>

> Go to Users and click on “System Users” (you need to be an Admin user to do this)

**Note:**

{% hint style="info" %}

* If no System user exists, Press the “Add” button → Set system user role to Admin&#x20;
* Difference between the system user and regular user. System user doesn’t require a reset of the token after it expires because the system can be set up as permanent. If the system is compromised then you can revoke
  {% endhint %}

#### 4.2 Add Asset <a href="#id-4.2-add-asset" id="id-4.2-add-asset"></a>

Click “Add Assets” and a Modal will pop up. Navigate the following:

1. Click the “Apps” page
2. Select the app you just created
3. Toggle “Manage App” under Full control to be on
4. Press the “Save changes” button

<figure><img src="/files/S7yCgsJH8WTJYDrDI9lB" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/e51NGfka4QiLOp5CQRa7" alt=""><figcaption></figcaption></figure>

#### 4.3 Generate Token <a href="#id-4.3-generate-token" id="id-4.3-generate-token"></a>

1. Click “Generate New Token”
2. Select your App
3. Select “Never” for token expiration

Tick the following boxes

* Business Management
* WhatsApp business messaging
* WhatsApp Business management

When you've done this, Click the “Generate Token” button

{% hint style="info" %}
Notes

* This is the identifier that will be sent back to Yazi to configure the system to your personal account.&#x20;
* Once the code is generated, you can send it to Yazi to complete the configuration of your account Selecting Never for Token expiration means you don’t have to keep configuring new tokens
  {% endhint %}

<figure><img src="/files/jGcqYqS34ecsb0gIMVPH" alt=""><figcaption></figcaption></figure>

&#x20;

<figure><img src="/files/LW5mzver9lWbKGjgTXqW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/H4B8VwsG8stBuL9ljJ5B" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/UkzLMcTwJqIfnSDxKAtn" alt=""><figcaption></figcaption></figure>

### [META FOR DEVELOPERS](https://developers.facebook.com/tools/accesstoken/) <a href="#meta-for-developers-1" id="meta-for-developers-1"></a>

#### 4.4 Access Token via Debugger <a href="#id-4.4-access-token-via-debugger" id="id-4.4-access-token-via-debugger"></a>

To copy or access the information about the token: Go to Access token page in Tools in the Facebook Developers portal <https://developers.facebook.com/tools/accesstoken/>

1. Click “Debug” on the app you just created
2. Copy the Debug code

{% hint style="info" %}
Note:\
Also see all the information about the token
{% endhint %}

<figure><img src="/files/OXMfqgnmhxszoTXkHOIM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/yupb9eyLU0fOROlu8fKH" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.askyazi.com/setting-up-the-whatsapp-api-number/creating-a-whatsapp-api/system-user-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
