> For the complete documentation index, see [llms.txt](https://support.cregis.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.cregis.com/api/api-manual/integrating-the-ton-chain-via-api.md).

# Integrating the TON Chain via API

1. **Configure TON Currency in the Wallet**\
   Follow the steps shown in the illustration to properly configure the TON currency in your wallet.\ <br>

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

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

   <figure><img src="/files/Gnrh7xfHBbs1O1eqsIXl" alt=""><figcaption></figcaption></figure>
2. **Access the TON Address Page in the Project**\
   Navigate to the **TON Address Page** within the project.<br>

   <figure><img src="/files/82gKBOM03LAW3gz6yvM7" alt=""><figcaption></figcaption></figure>
3. **Add and Configure Addresses**\
   Create a new address and complete the required configurations.<br>

   <figure><img src="/files/ihpLwTYSwLptSkzdlIIH" alt=""><figcaption></figcaption></figure>
4. **Activate the Address**\
   After creating the address, it must be activated. To do so, transfer a small amount of TON to the address and then send it back out.

<mark style="color:green;">**Important: If the address is not activated and tokens are directly deposited to it, the API will not trigger a callback.**</mark>


---

# 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://support.cregis.com/api/api-manual/integrating-the-ton-chain-via-api.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.
