> For the complete documentation index, see [llms.txt](https://ajuda.livechat360.com.br/crm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.livechat360.com.br/crm/administracao/configuracoes/configurando-o-whatsapp-whatsapp-api/token-definitivo.md). Agents can also search and read this documentation through its [MCP server](https://ajuda.livechat360.com.br/crm/~gitbook/mcp).

# Token Definitivo

Após a criação do aplicativo no Developers é possível ativar o token definitivos por meio da BM.

Para isso, acesse o **Facebook Business** e vá até **Usuários** > **Usuários do sistema**.

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FuDSYNyHBsWDNMvFa6bjk%2Fimage.png?alt=media&amp;token=ccb79d40-ad7c-4af6-bbb9-642c27e5e253" alt=""><figcaption></figcaption></figure>

Clique em **Adicionar** para criar um usuário do sistema:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FeTVDvfL09N4QDa97eJeG%2Fimage.png?alt=media&amp;token=5faac78c-1aa3-4c59-ab96-e72ec663b111" alt=""><figcaption></figcaption></figure>

Insira um nome para o usuário, atribua a função **Admin** e clique no botão "**Create system user**".

Feito isso, um usuário do sistema será criado:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FR8wAz1uFUC7xaGPfuUHI%2Fimage.png?alt=media&amp;token=71495a1e-04a0-460f-b677-8cc5ea8bb52f" alt=""><figcaption></figcaption></figure>

Agora é preciso atribuir os aplicativos desejados como ativos do usuário. Para isso, vá até o ícone de três pontinhos e selecione a opção **Atribuir ativos**:&#x20;

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FWr2by1E9MHo2rx6zIONU%2Fimage.png?alt=media&amp;token=a32ba6bc-3d9b-45ab-a562-80dfe2af2082" alt=""><figcaption></figcaption></figure>

Selecione o aplicativo desejado, depois atribua a permissão **Gerenciar app** e, por último, clique no botão **Atribuir ativos**:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2F03dZYh1vI7fPND04VHjO%2Fimage.png?alt=media&amp;token=aba1e5d4-1191-4ce4-8307-41fcf838d5d7" alt=""><figcaption></figcaption></figure>

&#x20;Feito isso, o aplicativo terá sido atribuído ao usuário do sistema:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FjI7bwKKkmNwCKMkHFTBz%2Fimage.png?alt=media&amp;token=bda76b25-cd5e-476e-994f-547880b3041e" alt=""><figcaption></figcaption></figure>

Agora, clique sobre **Gerar token** e siga as etapas:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FqBWWEIwMf9jtXe8cu6V1%2Fimage.png?alt=media&amp;token=154022dd-6e64-438e-896e-801dbd82f8ec" alt=""><figcaption></figcaption></figure>

Selecione o aplicativo desejado e clique em **Avançar**:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FYohclNF2fZ07qAx1v864%2Fimage.png?alt=media&amp;token=b09aadb5-d07b-416d-88b2-d546e3f63dda" alt=""><figcaption></figcaption></figure>

Selecione a opção **Nunca** para que o token nunca expire e clique em **Avançar**:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FuYIARNyVaW3zSeuN4cOl%2Fimage.png?alt=media&amp;token=1cc9dc5d-87f9-4978-b29c-db22e568e02e" alt=""><figcaption></figcaption></figure>

Selecione todas as permissões e clique em **Gerar token**:

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FIkLSOGx8Vl07VemfPU28%2Fimage.png?alt=media&amp;token=5a0f5dce-3877-4d54-9898-00b5edcb04cb" alt=""><figcaption></figcaption></figure>

Depois, na próxima etapa, clique em **Copiar** para copiar o token gerado.

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FKxMcmIBaZEXeJZ0wvMJ4%2Fimage.png?alt=media&amp;token=9515db99-1811-43d9-b09d-1b5d61904c52" alt=""><figcaption></figcaption></figure>

Por fim, utilize esse token no sistema onde for requisitado **token de acesso**, pois ele não expira e não precisará ser renovado a cada 60 dias.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.livechat360.com.br/crm/administracao/configuracoes/configurando-o-whatsapp-whatsapp-api/token-definitivo.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
