> For the complete documentation index, see [llms.txt](https://manual.selarti.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.selarti.com/manual-en/external-integrations/integration-using-the-make-service/integration-with-amocrm.md).

# Integration with amoCRM

*Integration with* [*amoCRM*](https://www.amocrm.ru/) *allows you to increase the efficiency of AI agents by combining the capabilities of artificial intelligence with the functionality of the CRM system to manage your sales*.

Integration setup is done using the Make service. The first step is setting up the connection **Selarti + Make** was covered in a [separate article](https://manual.selarti.com/manual-en/external-integrations/integration-using-the-make-service.md). In this article, the second part of the setup is covered — the connection **amoCRM + Make**.

Open amoCRM and go to *«amoMarket»*, click on the kebab menu at the top right and select «*+ Create integration»*.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FJAiJCGzGdtM4PXfMJQtT%2Fmake_amo_1.png?alt=media&amp;token=bc6d6b5b-9e9a-44fe-ab8c-c1a71f6cf6e3" alt=""><figcaption></figcaption></figure>

In the window that opens, select «*+ Create»* opposite the «External integratio&#x6E;*»* item.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FgAoJn1RuqQtWgqAcylCs%2Fmake_amo_2.png?alt=media&amp;token=5029ef2e-2116-4877-9dfd-23ad89671db8" alt=""><figcaption></figcaption></figure>

In the window that opens, fill in the fields:

* **Allow access** — «Al&#x6C;*»*, to do this, check all available items;
* **Description** — for your convenience, write «Selart&#x69;*»* there so as not to get confused later.

Then click «*Save»* in the upper right corner.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FKsPgTuXD2GvzAPMsZWmb%2Fmake_amo_3.png?alt=media&amp;token=2609fb71-9914-45a8-9372-1645388cee18" alt=""><figcaption></figcaption></figure>

In *«amoMarket»*, go to the «*Installed»* section, find the created integration and click on «*Selarti»*.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FoEyymofHDXIWFSIwRRg5%2Fmake_amo_4.png?alt=media&amp;token=f153629e-1891-463f-b3c9-836ba4f5538c" alt=""><figcaption></figcaption></figure>

In the settings window that opens, go to «*Keys and scopes»*, click «*Generate long-lived token»*.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FFA3x2Dw1HzM5Z63TICgW%2Fmake_amo_5.png?alt=media&amp;token=a2953a68-f495-465a-807b-aa3de2df398e" alt=""><figcaption></figcaption></figure>

In the next window, enter the expiration date and confirm it.

Please note — select the maximum possible period, that is, five years.

Copy your token, you will need it for further setup on the «Make» side.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FvoMxzI5IIUCrJmeRaZT3%2Fmake_amo_7.png?alt=media&amp;token=a48cbf32-b7ca-4128-aaec-68438c4db439" alt=""><figcaption></figcaption></figure>

Download the ready-made template for integrating Selarti and amoCRM [at the link](https://disk.yandex.ru/d/sd0AYj7vdeS0lw).

Go to [Make](https://www.make.com/en/login?response_type=code\&client_id=eu2.make.com\&redirect_uri=https%3A%2F%2Feu2.make.com%2Fsso%2Foauth\&state=98de6beb8d7905262540\&scope=zone%3Alogin), open the «*Scenarios»* section and click «*+ Create a new scenario»*.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FDRh3sND9Sna5QECSGuFC%2Fmake_amo_8.png?alt=media&amp;token=062a6439-c10f-46af-87d5-8f40d25c3e7e" alt=""><figcaption></figcaption></figure>

In the scenario settings, click on the kebab menu and select «*Import blueprint»*, upload the previously downloaded integration template file.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2FCAyFf1V0bsxaur8s9gHp%2Fmake_amo_9.png?alt=media&amp;token=3044fe77-77e1-4cce-a4b9-fb09e22a8116" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Check all requests and replace the data in parentheses with your own.
{% endhint %}

In the field «*URL»* replace <mark style="background-color:orange;">(</mark>домен\_вашего\_амо<mark style="background-color:orange;">)</mark> with your domain — you can see it in the address bar of amoCRM.

In the field *Headers > Item 1 > Value* replace <mark style="background-color:orange;">(</mark>тут\_токен\_амо<mark style="background-color:orange;">)</mark> with your token — it should have been copied in the previous amoCRM setup step.

Then click «*OK»*.

<figure><img src="https://271796707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsBua8zDbkZPvmgjidnwA%2Fuploads%2F5uYHhielETBwlTZh9ZHA%2Fmake_amo_10.avif?alt=media&amp;token=199d9890-5226-4c55-8d14-bcc3a2ea5a53" alt=""><figcaption></figcaption></figure>

For more information about the parameters sent by webhooks and custom API with custom fields, see the article [«Integration with an external messenger»](https://manual.selarti.com/manual-en/external-integrations/integration-with-an-external-messenger.md).
