Skip to main content

xAI Grok models

Follow the steps below to configure the AI Autodocumentation feature in Dataedo with xAI Grok models.

Prerequisites​

caution

To use the AI Autodocumentation feature with xAI Grok, you must generate an API key in the xAI Console. It is required to access the xAI API and use the Grok models for autodocumentation.


You will also need the Admin role in Dataedo Portal to add the engine, and (Power) Data Steward permissions to the Dataedo Repository to create AI-generated descriptions.

xAI Console​

Generate an API key from xAI​

  1. Go to the xAI Console.
  2. Sign up for an account or log in if you already have one.
  3. Open the API keys page.
  4. Create a new API key.
  5. Copy the API key to your clipboard.

Configure AI autodocumentation in Dataedo​

  1. In Dataedo navigate to Settings > System Settings > LLM (AI) engines.
  2. Click + Add engine.
  3. In the New engine window, select xAI Grok.
  4. Fill in the engine details:
    • Title [A]: a user-friendly name shown to users when they choose an engine, for example Grok 4.6.
    • Model [B]: select Grok 4.6. To use another Grok model, select Enter custom model... and type its model ID.
    • API key [C]: paste the API key from the xAI Console.
  5. (Optional) Expand Advanced settings [D] to change Max tokens (default 4096) or to add Additional context for the prompts. See Add an AI engine for details.
  6. Click Save and test.
Add xAI Grok engine form

Dataedo Portal sends a short test prompt to xAI and saves the engine only if it responds. If the test fails, check the error message, correct the settings, and click Save and test again.

Failed connection test for xAI Grok
info

Dataedo connects to Grok through the OpenAI-compatible xAI API at https://api.x.ai/v1/. The endpoint is not configurable.

Dataedo is an end-to-end data governance solution for mid-sized organizations.
Data Lineage • Data Quality • Data Catalog