Connecting the bot via the API is described in the section connecting the bot
Last updated 11 months ago