- Go to oauth.yandex.ru and click “Register a new application”.
- Enter any application name and under permissions choose “Yandex Metrica” → “Read statistics and parameters of your own and trusted counters”.
- Copy the Client ID of the new application.
- Open this link in your browser with your Client ID:
https://oauth.yandex.ru/authorize?response_type=token&client_id=YOUR_CLIENT_ID - Yandex redirects you to a page with the token in the address bar — copy the value of the
access_tokenparameter. - Paste the token into the OAuth token field on the Settings tab.