How to extend the Discourse sidebar?

Discourse is built on open source code so that plugin and theme components are how you “extend” the core features to suit your own forum’s needs.