Make Grok the Default Search Engine in Brave Browser

Prerequisites: You will need to have access to Grok through 𝕏.com

Open Brave and type brave://settings/searchEngines

Click the Add button next to Site Search

Fill in the fields Name, Shortcut, and URL with the information below

Name: Grok
Shortcut: g
URL with %s in place of query: https://x.com/i/grok?text=%s

Click the 3 vertical dots to the right of the Grok entry you just created and click Make default

The entry will be moved to the Search Engine section above the Site Search section

Now when you open a new tab and enter text in the search box the prompt will be passed to https://x.com/i/grok and Grok will respond.