> For the complete documentation index, see [llms.txt](https://docs.smartbotpro.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.smartbotpro.io/scripts/actions/send-a-message/buttons.md).

# Buttons

In this article, we will look at how to add interaction to your script using buttons.

Buttons make it much easier for the user to navigate within your scripts.&#x20;

To add buttons, let's create the "Send message" action (choose on the left auxiliary menu or right-click in an empty area of ​​the screen).

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2Fz5cneuOSRFVDAAXvqdCq%2F1.png?alt=media\&token=a24ddd5a-035e-452c-9e79-831874c89f40)

In the menu of the block itself (on the right), select "+Add button"

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2Fo6dEL2UPVCjp7R19yW8Z%2F2.png?alt=media\&token=b276b788-d823-4a26-a375-a3d863fe7815)

When our button appears, click on it, and a customization menu will appear on the side, where you can enter text on the button, select the type and color, and delete the button.

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FJbXqZ2ZOj5gE5SbyUzWH%2F3.png?alt=media\&token=934a6349-6558-4ca1-8e0a-397f72b42a48)

In addition, you can choose whether to hide the buttons after use, or show them inside the message (inline):

![](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2F1JZLyvA4MsKisMAeLudJ%2F4.png?alt=media\&token=a2c18b8a-1650-4b9d-a2a9-a4762e36404b)

This is what a possible result looks like:

![в Telegram](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FiAgow1dx45JdiSIUSlgA%2F5.png?alt=media\&token=1bdc7d9f-f20d-4551-a28e-c3da61a1c6f7)

![Вконтакте](https://1932399487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRfd5lEYYH6D50QjzeAX%2Fuploads%2FZT2enI9JjIhKTsCIos6U%2F6.png?alt=media\&token=6891af83-bdbf-4eb3-8cb9-77c9c54f0124)

Now you know how to add and customize buttons in your bot!
