> For the complete documentation index, see [llms.txt](https://docs.trybit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trybit.com/pt/cms-plugins/list/xenforo-2.md).

# XenForo 2

Abaixo encontra-se uma instrução simples sobre como integrar o CryptoCloud no XenForo 2:

1. Registe-se no site <https://app.trybit.com/registration>.
2. Leia as instruções na sua conta pessoal.
3. Adicione o seu projeto na sua conta pessoal, preenchendo os campos obrigatórios. Na lista de CMS, selecione XenForo 2.

**O seu website:**\
<https://domain.com/>

**URL de sucesso:**\
<https://domain.com/thank-you\\>
(pode ser qualquer link)

**URL de insucesso:**\
<https://domain.com/fail\\>
(pode ser qualquer link)

**URL para notificações:**\
<https://domain.com/payment\\_callback.php?\\_xfProvider=CryptoCloud>

4. Descarregue o plugin para o XenForo.

{% file src="/files/9c1f9721c897aa5550ee4ce61950712ba709cd67" %}

5. Instale o plugin usando o método padrão [ferramentas do XenForo](https://xenforo.com/docs/xf2/add-ons/#installing-or-upgrading-an-add-on).
6. No painel de controlo do XenForo, vá para a página Definições — Gateways de Pagamento. No painel de controlo do fórum, clique no botão «Adicionar Gateway de Pagamento».
7. Preencha todos os campos com os dados da sua conta pessoal CryptoCloud.

**Chave API:**\
Para obter uma Chave API, vá às definições do seu projeto.

**Chave secreta:**\
Para obter uma Chave secreta, vá às definições do seu projeto.

**ID da loja:**\
Para obter o ShopID, vá às definições do seu projeto. O ID é composto por 16 caracteres e é único para cada projeto.

8. O módulo está pronto a funcionar! Antes de publicar o método de pagamento no site, precisa de [testar a integração](/pt/start/test-integration.md).


---

# 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 dynamically by asking a question.

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

```
GET https://docs.trybit.com/pt/cms-plugins/list/xenforo-2.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.
