> For the complete documentation index, see [llms.txt](https://docs.gearplug.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gearplug.io/english/popular-integrations/bitrix24-and-alegra/set-up-your-gear-from-bitrix24-and-alegra/alegra-target.md).

# Alegra (target)

1. Click the red gear to show your Plugs. Choose the one you want to use and click “Continue.” You may also create a new one under “Create a connection.”

<figure><img src="https://lh4.googleusercontent.com/P8QnmyqAmzzYcXH1Oai9RfQyAgdHFluO3s7wMFZTngQsSupP-MYlPQiqlr91igVO30A5Cmx8F6-RJe4oMNTpT4xTdGaXClEZmLuGuY0uCJ5LPIRcurXaKwljwXr1N0k5kGaGCNAk4Zvsillfrx2CSg" alt=""><figcaption></figcaption></figure>

2. Choose the action you want to execute. This will show a data template with the fields you can log into your record within Alegra.

<figure><img src="https://lh6.googleusercontent.com/Z-2b3kK4XjtlI5DeaSmqVW98rYqp4SiefHUvI3BRWOANnpezCzADa6W4_nzQ97eKvDwwT2_-fYT28mgWkxrUhjx3pjW8ZZrSRaBBLCUPZxRTlPOfTuiDZ68-AWS3w9MSN7kp6OXaEMrqrSx58R3UBQ" alt=""><figcaption></figcaption></figure>

3. Fill in the data template with the corresponding fields from the previously-imported test record. Make sure you fill the required fields, marked with a red asterisk. Click “Map” when you’re done.

<figure><img src="https://lh6.googleusercontent.com/bjxPe9PX1zxvCFyjAm3nHMH4P4u2Vrc_l8PD4bkxnOR_7Hj0TdU_QiKY29P0ocYqhZkSgWJvpLkGJKxkQf564Zet5cvQ8e4Thb-Aa1V6NHJntTrAZNX3MuQUosmcLaBTfGR_VC2KxrxaI3_zCZ4Ftg" alt=""><figcaption></figcaption></figure>

4. Make sure your target app is active (the ON/OFF button in the top-right corner). Then, click “Save.”

<figure><img src="https://lh5.googleusercontent.com/VPKGj8VGWS7eb-VdYUGajZ8HRaLBkTt7kNbXWPB-hRJk-UIT5AFrZDhbP56RZZSgIJ-aCaykAkQK5imIaeWuz1bv0qFdikT5XTFMtSzmvw5WbVbM2e_ev41xY218d8tQWBHMbaF_Rb3E-bUHtIi_eA" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Remember to turn on your integration in the “Gears” menu before closing GearPlug!
{% endhint %}


---

# 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.gearplug.io/english/popular-integrations/bitrix24-and-alegra/set-up-your-gear-from-bitrix24-and-alegra/alegra-target.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.
