Atlassian Connect is the way that developers can hook into our products: https://developer.atlassian.com/cloud/jira/platform/integrating-with-jira-cloud/
I guess a better answer is:
If it's some sort of automation that uses Atlassian approved APIs, then there should be no additional Jira/Confluence product license needed.
If it's a script and/or it requires a user to be added to an atlassian product, even if that user is controlled via a script, then that user will take up a Jira/Confluence license.
It really depends on what you mean by Bot, i.e. how it's built / what it's doing.
Hi Atlassian Community! My name is Owen and I work on Atlassian's Media Platform team. The Media Platform team handles the heavy lifting of managing uploads, serving images, attaching files and s...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events