---
title: "xAI"
description: "Connect an xAI API key for Grok models."
canonical_url: "https://docs.vettero.com/integrations/third-party-services/xai"
---
# xAI

> Connect an xAI API key for Grok models.

<service-meta auth="API key" capabilities="LLM, web search, code interpreter" group="Models" icon="i-lucide-orbit" id="xai" site="https://console.x.ai" siteLabel="console.x.ai">



</service-meta>

**xAI** provides Grok models. Use it as the LLM on [agents](https://docs.vettero.com/build/agents). Optional web search and code interpreter can be enabled on your own key (not on platform-managed connections).

Connecting, testing, and toggling capabilities is the same for every provider — see [Third Party Services](https://docs.vettero.com/integrations/third-party-services).

## Get an API key on xAI

1. Open the [xAI Console](https://console.x.ai) and sign in.
2. Open **API keys** (team or account settings in the console).
3. Create a key and copy it.
4. Confirm billing and model access for Grok.

## Connect in Vettero

Open **Integrations → Third Party Services**, add **xAI**, then **Connect Now**.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Capabilities
      </strong>
    </td>
    
    <td>
      LLM, and optional web search / code interpreter
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        API Key
      </strong>
    </td>
    
    <td>
      The xAI secret key
    </td>
  </tr>
</tbody>
</table>

## Use it

Pick this connection as the **LLM** on [agents](https://docs.vettero.com/build/agents) and on workflow blocks that need Grok.

<service-page-nav>



</service-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
