> 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/drupal.md).

# Drupal

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

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 Drupal.

**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/cryptocloud-payment/index>

4. Transfira o arquivo ZIP com o módulo Drupal na sua conta pessoal.

{% file src="/files/893b911e49c22bdc294373b698cdfea45a3c5f7b" %}

5. No painel de administração do Drupal, em «Gerir», vá a «Extensões» e clique em «Adicionar novo módulo».

<figure><img src="https://app.cryptocloud.plus/img/integrations/instructions/drupal/1_en.jpg" alt=""><figcaption></figcaption></figure>

6. Na janela que apareceu, especifique a localização do arquivo ZIP com o módulo e aguarde o carregamento do módulo.
7. Volte à secção «Administração» — «Extensões» e ative o módulo CryptoCloud instalado.

<figure><img src="https://app.cryptocloud.plus/img/integrations/instructions/drupal/2_en.jpg" alt=""><figcaption></figcaption></figure>

8. Para exibir o módulo no seu website, vá à secção «Commerce» — «Configuração» — «Gateway de pagamento». Na secção «Gateway de pagamento», clique em «Adicionar gateway de pagamento».

<figure><img src="https://app.cryptocloud.plus/img/integrations/instructions/drupal/3_en.jpg" alt=""><figcaption></figcaption></figure>

9. Vá às definições do módulo CryptoCloud.

<figure><img src="https://app.cryptocloud.plus/img/integrations/instructions/drupal/4_en.jpg" alt=""><figcaption></figcaption></figure>

**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.

10. 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/drupal.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.
