To program macros on your Logitech G915 keyboard, you can utilize the Logitech G HUB software. Within the software, you will find options to assign custom macros to specific keys or create multi-key combinations. Simply select the desired key or combination, define the desired sequence of actions, and save your macro settings.