Use the user-profile-controls plugin outlet:
user-profile-controls
See an example in the discourse-staff-notes plugin:
discourse-staff-notes
My simple exaple is here: github.com/discourse-pro/df-ask/releases/tag/0.0.2