# XenForo 2

Below there is a simple instruction on how to integrate CryptoCloud on XenForo 2:

1. Sign up on the website [https://app.cryptocloud.plus/registration](https://app.cryptocloud.plus/registration?lang=ru\&roistat_visit=113866).
2. Read the instructions in your personal account.
3. Add your project in your personal account by filling in the required boxes. In the CMS list, select XenForo 2.

**Your website:**\
<https://domain.com/>

**Successful URL:**\
<https://domain.com/thank-you\\>
(can be any link)

**Unsuccessful URL:**\
<https://domain.com/fail\\>
(can be any link)

**URL for notifications:**\
<https://domain.com/payment\\_callback.php?\\_xfProvider=CryptoCloud>

4. Download the plugin for XenForo.

{% file src="<https://content.gitbook.com/content/ZfSqUVTfJsB2NyMKnhq9/blobs/aAXGmnFxsH0CurHW2aj4/XenForo-CryptoCloud.zip>" %}

5. Install the plugin using the standard [XenForo tools](https://xenforo.com/docs/xf2/add-ons/#installing-or-upgrading-an-add-on).
6. In the XenForo control panel, go to the Settings — Payment Gateways page. In the forum control panel, click the «Add Payment Gateway» button.
7. Fill in all boxes using the data from your CryptoCloud personal account.

**APIKey:**\
To get an API Key, go to your project settings.

**Secret Key:**\
To get a Secret Key, go to your project settings.

**Shop ID:**\
To get the ShopID, go to the settings of your project. The ID consists of 16 characters and is unique for each project.

8. The module is ready to work! Before publishing the payment method on the website, you need to [test the integration](https://docs.cryptocloud.plus/en/start/test-integration).


---

# 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.cryptocloud.plus/en/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.
