How to customize Discourse AI bot

We have implemented a sidebar its like a modal containing a few tabs, and we would like to integrate the Discourse AI bot within this sidebar. However, we want to customize its appearance and behavior to better fit our layout. We would appreciate any guidance or assistance on how to achieve this customization.