How to get your Grok key
Get your xAI API key ↗(opens in a new tab)
xAI bills API use from prepaid credits unless your team has set up monthly invoiced billing. Buy credits on the Billing page of the xAI console. A bank transfer can take a few days to show.
- Sign in to the xAI console if it asks. You land on the API Keys page.
- If you see a box about merging this team with Cursor, you can ignore it. Botheon doesn't need it.
- Click Create API key.
- Name it Botheon and click Create.
- Copy the key now. It starts with xai-. xAI shows the full key only when you create it.
If the test fails: check that you copied the whole key, then try again.
Never share the key anywhere else. You can delete it later on the same page.
Your own API keys come with Pro and Pro Plus. On Free, add the AI subscriptions you already pay for to the Gauge instead.