-
Notifications
You must be signed in to change notification settings - Fork 0
How to create a Lichess OAuth token
Wiki sync edited this page Aug 14, 2023
·
1 revision
- Create an account for your bot on Lichess.org.
- NOTE: If you have previously played games on an existing account, you will not be able to use it as a bot account.
- Once your account has been created and you are logged in, create a personal OAuth2 token with the "Play games with the bot API" (
bot:play) scope selected and a description added. - A
token(e.g.xxxxxxxxxxxxxxxx) will be displayed. Store this in theconfig.ymlfile as thetokenfield. You can also set the token in the environment variable$LICHESS_BOT_TOKEN. - NOTE: You won't see this token again on Lichess, so do save it.
Next step: Upgrade to a BOT account
Previous step: Install lichess-bot