Skip to main content
Configure your xAI Grok integration to access advanced AI capabilities from your Jinba Flow workflows.

Prerequisites

  • An xAI account
  • Access to the Grok API (currently in limited access)

Getting Started with Grok

Access Requirements

Grok API is currently in limited access. To get access:
  1. Visit the xAI website
  2. Sign up for an account if you don’t have one
  3. Apply for API access through the developer portal
  4. Wait for approval from xAI team
  5. Once approved, you’ll receive your API credentials

API Key Setup

  1. After receiving approval, log into your xAI developer account
  2. Navigate to the API section
  3. Generate a new API key
  4. Copy your API key for use in Jinba Flow

API Key Security

  • Never share your API key publicly
  • Store it securely in environment variables
  • Use the key only in trusted applications
  • Monitor your usage in the xAI dashboard

Setting Up in Jinba Flow

  1. Go to your workspace settings in Jinba Flow
  2. Navigate to the “Secret” section
  3. Click “Create Secret” and choose the generic type OTHER (there is no Grok-specific secret type)
  4. Enter a name and paste your xAI API key
  5. Click “Save” to store your credentials

Available Models

Once configured, select the saved secret in the Grok API key field (api_key config) of GROK_CHAT. If you leave the field at its default, {{ secrets.JINBA_CREDIT_KEY }}, the step runs on Jinba Credits instead of your own key. Current model IDs include:
  • grok-4.3 (default)
  • grok-4.5
  • grok-4.6
  • grok-4.7
See the Grok tool page for the full model list and the tool inputs.

Usage Examples

Once configured, you can use Grok in your flows to:
  • Generate creative content and text
  • Analyze complex documents and data
  • Answer questions with real-time information
  • Perform advanced reasoning tasks
  • Create structured data from unstructured text
  • Generate code and technical solutions