# Авторизация через Yandex

1\. Зарегистрируйтесь в системе «[Яндексе](https://passport.yandex.ru/registration/)».

2\. Перейдите [на страницу добавления приложения «Яндекса»](https://oauth.yandex.ru/client/new).

3\. Напишите любое название приложения.

[<br>](https://exchanger.iexbase.com/storage/uploads/u/images/docs/2022-08-31_09-24-43.png)

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

4\. В секции «*Для какой платформы нужно приложение?*» выберите «**Веб-сервисы**».\
В поле «**Callback URL**» впишите адрес вида *https\://**ВАШ\_ДОМЕН**/oauth/vkontakte/callback*. Замените ***ВАШ\_ДОМЕН*** на домен своего сайта.

5\. Включите право доступа «**API Яндекс ID&#x20;*****→ Доступ к адресу электронной почты***».

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

6\. Скопируйте значения «**Client ID**» и «**Client Secret**».

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

7\.  В панели управления обменным пунктом в разделе **«Утилиты → Система авторизаций»** если в списке нет Яндекс, нажмите **Добавить систему**

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

8\. Далее, в списке сервисов, найдите созданный.

* *Client ID* - Введите *ID приложения*, который вы получили.
* *Client Secret* - Введите Защищённый ключ, которая находится в настройках созданного приложения Yandex.


---

# 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.iexexchanger.com/dev-help/integraciya/avtorizaciya-cherez-soc.-seti/avtorizaciya-cherez-yandex.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.
