How do I create a keybind on fivem?

How do I create a keybind on fivem? (Image via GTA RP Servers)
Creating Keybinds on FiveM is super simple, and actually really effective. In most roleplay servers specifically there are a lot of “slash commands” which can be a pain to retype constantly. Below is an example of how to assign a keybind with a slash command. We start by opening the console with FiveM open.