Skip to main content
Provider Guides

How to use xAI (Grok) in BoltAI

Add your xAI API key to chat with Grok models, search the web and X, hear replies in Grok voices, and make images.

Written By Daniel Nguyen

xAI makes the Grok models. In BoltAI you can chat with them, let them search the web and X, have replies read aloud in xAI voices, and make images.

Before you start

An API key from your xAI Console.

Set up xAI in BoltAI

  1. Open Settings › AI Providers, click +, and choose xAI (Grok).
  2. Paste your key into API Key. Leave Base URL empty.
  3. Click Next.
  4. Keep all models, or untick the ones you don't want. To choose the model this provider starts with, hover over it and click Set as Default.
  5. Click Add Service.
Set up xAI (Grok) in BoltAI

Start a chat with Grok models

Click the model name in the message box, press ⇧ ⌘ M, or type /model, and pick a model under xAI (Grok).

To start every new chat with it, right-click the model and choose Set Provider & Model as Default. See Choose and switch models.

Grok models in the model picker

Use xAI's built-in tools

With a Grok model selected, open the chat's Tools menu (press ⇧ ⌘ T). Under Provider Tools, turn on:

  • Web Search to search the web.
  • X Search to search public posts on X.
  • Image Generation to make images in the chat.
  • Code Execution to run code for an answer.

See Tools in a chat.

Read replies aloud with xAI voices

  1. Open Settings › Voice.
  2. Under Read Aloud, set Engine to xAI (Grok).
  3. Pick a Voice and a Language.

Then use Read Aloud on any reply.

Make images in Image Studio

Press ⌃ ⌘ N and pick Grok Imagine under xAI (Grok). See Image Studio.

If it doesn't connect

  • BoltAI says xAI didn't accept the key. Copy the key again from the xAI Console and paste it into API Key.
  • BoltAI couldn't verify the setup. Check that your xAI account has credits in the xAI Console, then click Next again.
  • It stopped working later. Open Settings › AI Providers, click xAI (Grok), open the ⋯ menu and choose Test Connection. To change the key, choose Edit Configuration.
  • A new model is missing. Click xAI (Grok) in Settings › AI Providers and click Refresh Model List.