How to add a button to user profiles?

01

Use the user-profile-controls plugin outlet:

See an example in the discourse-staff-notes plugin:

01

My simple exaple is here: github.com/discourse-pro/df-ask/releases/tag/0.0.2

01