Get an API key
- Sign in at console.x.ai and open API keys.
- Create a key and copy it. It starts with
xai-. - Add credit to your xAI team: requests are refused without it.
Add it in Spojit
- Open Settings → AI providers and select Add provider.
- Choose xAI, give it a name and paste the key.
- Select Add provider.