This is a guide on how to keybind macros and spells that are not on your action bars...
For spells type out...
/run SetBindingSpell("BUTTON", "SPELL")
For macros type out...
/run SetBindingMacro("BUTTON", "MACRO_NAME")
**Note the macro has to be named something unique, or it won't work!
Now you get to mess around with you're keybind... if you like it type out...
/run SaveBindings(2)
**Note if you want to save the binding for ALL CHARACTERS change the 2 to a 1
BAM!! you just keybinded a spell / macro without having it be on you're action bars!