Watch os compilation

Can I add action bouton in my apple watch compilation? If yes what is the line I need to put?

Do you mean you have selected home assistant to display on the watch main dial?
If so tapping on it will open home assistant and will list of the actions that you have created on the app on your phone.
Have you created actions yet?
You will then need to add automations in HA that pick these and act upon it