---
metadata:
  - name: generator
    content: Diplodoc Platform v5.44.0
alternate:
  - https://yandex.ru/dev/id/doc/en/how-to.md
  - https://yandex.ru/dev/id/doc/ru/how-to.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/id/doc/en/llms.txt

# Connecting to API Yandex ID

Using API Yandex ID, you can load user data automatically from their Yandex account. This makes logging in to your website easier, because the user won't have to create a new account and fill out additional forms.

To set up authorization using API Yandex ID, prepare your app for working with the [OAuth 2.0 protocol](https://yandex.ru/dev/id/doc/en/concepts/ya-oauth-intro.md):

1. [Register your app](https://yandex.ru/dev/id/doc/en/register-client.md) in the service [Yandex OAuth](https://oauth.yandex.com/).

1. Set up app access to Yandex ID. To do that, obtain the user's consent for the app's actions and [request an OAuth token](https://yandex.ru/dev/id/doc/en/access.md). Request a token for each new user who logs in to your service via Yandex.

1. Get [user information](https://yandex.ru/dev/id/doc/en/user-information.md) to be utilized in your app, such as data needed for configuring the user's profile.
