Start free trial
Docs / AI

xAI

Create a dedicated inference key in the xAI console and add it in Settings → AI Screening.

Steps checked 2026-10-14

Before you start

  • An account at console.x.ai that has been loaded with credits. xAI says to load an account with credits before using the API.

Create a key

Sign in at console.x.ai ↗. The keys page is console.x.ai/team/default/api-keys ↗.

  1. Sign in to the xAI Console at console.x.ai and choose your team.
  2. Open the API Keys page.
  3. Create an inference API key and name it TalentDesk screening.
  4. Copy the secret and store it safely.

Permissions and project

  • xAI inference keys are bound to a team and to the user who created them, and carry permissions (ACLs) for endpoints and models. A key with no endpoint or model permission cannot make requests.
  • If the console shows these permissions when you create the key, allow the chat endpoint and the models you want TalentDesk to use.

What not to paste

  • A management API key. xAI keeps management keys separate: they administer keys and teams, not model calls. Use an inference key.

Add it to TalentDesk

  1. Sign in to TalentDesk as an admin on a workspace on the Team plan, and open Settings → AI Screening.
  2. Under AI Screening key, choose xAI in the provider list.
  3. Paste the key into Paste your key.
  4. Select Save & test. TalentDesk checks the key with xAI before it stores it.

Success looks like this: the AI Screening key row shows xAI and the last four characters of the key, with Replace and Remove beside it. If the test fails, an error explains why and nothing is stored.

Rotate or revoke the key

  1. Create a new inference key and use Replace in TalentDesk to test it.
  2. Then delete the old key from the API Keys page.

Removing the key in TalentDesk stops AI features in every workspace that uses it. Candidates already parsed keep what they have.

Common errors

That key was refused. Check it is current and has not been revoked.
The key is wrong, deleted or a management key. Create an inference key.
Your provider account is out of credit or over its spend limit.
Load credits on the team in the xAI Console.
That key cannot use this model. Check your project's model access.
The key's permissions do not include the model or the chat endpoint. Edit the key's permissions or create a new key.
Note Use an inference key, not a management API key.

Provider documentation

Steps checked 2026-10-14 against the provider's own documentation. Provider consoles change; if a label here is not what you see, follow the provider documentation above.

Start your free trial

7 days free, no card required.

No spam, unsubscribe anytime. We email you to confirm, then only about TheTalentDesk. See the privacy page.

Hiring for a larger organisation? Talk to sales about Enterprise.