> For the complete documentation index, see [llms.txt](https://docs.tgshop.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tgshop.io/osnovnye-nastroiki/zakazy/integraciya-s-retailcrm.md).

# Интеграция с RetailCRM

### Возможности интеграции:

1. Передача заказов из TGShop в RetailCRM: информация о товарах, способе доставки, способе оплаты, адрес, контактные данные покупателя, комментарий к заказу&#x20;
2. Синхронизация товаров в заказе с товарами в магазине RetailCRM&#x20;

### Настройка интеграции

В панели управления TGShop перейдите в раздел "настройки"&#x20;

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

Откройте вкладку "Интеграция с CRM", выберите интеграцию с RetailCRM и заполните появившиеся поля

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

1. **Домен** - домен RetailCRM в формате YOURDOMAIN.retailcrm.ru. Часть "YOURDOMAIN" уникальна для каждого аккаунта, ее можно скопировать в адресной строке аккаунта RetailCRM.
2. **API ключ** - вставьте ключ API из RetailCRM: Настройки → Интеграция → Ключи доступа к API.
3. **Site Code** - символьный код магазина в RetailCRM, к которому вы хотите подключить передачу заказов.&#x20;

{% hint style="info" %}
**Важно:** если у вас уже заведен магазин в RetailCRM, вы можете не создавать дополнительный магазин и подключить этот же магазин для передачи заказов.&#x20;
{% endhint %}

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

После этого сохраните изменения. При успешной интеграции система изменит статус интеграции на активный и отобразит в системе ответственного менеджера. После этого интеграцию можно считать завершенной. &#x20;


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.tgshop.io/osnovnye-nastroiki/zakazy/integraciya-s-retailcrm.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
