How to create an Logout Button

Hello, iam trying to create an Logout Button for my Users. I know that i have to call an Java Action from an microflow, but I dont know where I have to put in the text and which text. Can someone please help me
1 answers

You can just add a normal button to your page and select the “On click” action “Sign out”. 

Or you can also use the “Sign-out button” widget.