This guide explains how to set up xAI (Grok) in Aimogen using the plugin’s unified provider configuration. As with all AI providers in Aimogen, there are no enable switches or provider toggles. Entering a valid API key is the only step required to activate the provider.
Where to Configure xAI (Grok) #
All AI provider credentials are managed from a single location:
Aimogen → Settings → API Keys
xAI (Grok) has its own dedicated API key field in this tab.
Prerequisites #
Before adding the API key, make sure you have:
- An xAI account with API access
- A valid xAI (Grok) API key
- Billing enabled on your xAI account
- Outbound HTTPS access from your server
If billing is not enabled, requests will fail even if the API key is valid.
Setting Up xAI (Grok) (Step by Step) #
- Go to Aimogen → Settings → API Keys
- Locate the xAI (Grok) API Key field
- Paste your API key
- Save the settings
That’s it.
There is no provider enable toggle, no model import step, and no manual refresh.
What Happens After Saving the API Key #
Once the API key is saved:
- Aimogen automatically validates the key
- xAI (Grok) becomes an active provider
- Available Grok models are detected dynamically
- Grok models appear in all relevant model dropdowns
Only models compatible with the selected feature will be shown.
Model Availability and Behavior #
Model availability depends on your xAI account and plan.
Aimogen:
- Queries available Grok models automatically
- Filters models based on execution type (text, chat, etc.)
- Hides unsupported features
If a Grok model does not appear, it usually means:
- The model is not enabled for your account
- The model does not support the selected feature
- The API restricted access
This is expected and not a plugin error.
Common Use Cases for Grok #
xAI (Grok) is typically used for:
- Conversational AI and chatbots
- Fast, responsive interactions
- Informal or dynamic dialogue
- Experimental reasoning styles
Many users combine Grok with other providers for different tasks.
Removing or Rotating the API Key #
If you remove the Grok API key and save:
- xAI (Grok) is immediately disabled
- Grok models disappear from all selection lists
- Features using Grok will fall back or stop gracefully
- No content or settings are removed
API keys can be rotated at any time.
Using Grok with Other Providers #
Grok works well in mixed-provider setups.
Common combinations include:
- OpenAI for structured content
- Grok for chatbot responses
- Claude for long-form analysis
- Gemini for multilingual output
Provider selection can be overridden per feature, chatbot, or workflow.
Troubleshooting #
If Grok does not appear or fails to execute, check:
- API key correctness
- Billing status on your xAI account
- Outbound HTTPS connectivity
- Error messages in Aimogen → Status or Logs
Most Grok issues are related to account permissions or billing.
Summary #
- xAI (Grok) is configured in Aimogen → Settings → API Keys
- Entering the API key automatically enables the provider
- Models are detected and loaded automatically
- No enable toggles or activation steps exist
- Removing the key disables the provider instantly
Aimogen treats xAI (Grok) as a first-class provider within the same execution engine, allowing it to be used interchangeably with other AI backends.