JDA strives to provide a clean and full wrapping of the Discord REST api and its Websocket-Events for Java. This library is a helpful tool that provides the functionality to create a discord bot in java. Please see the Discord docs for more information about bot accounts.
Navigate to .env.example file and change this fields:
TOKEN=token_here
SERVER_ID=id_here