Open Telegram mobile, go to Settings → Devices → Scan QR code.
QR code expires in 60 seconds. After scanning, the page will automatically show your bearer token and configuration.