Skip to main content

Adding xAI Credentials

You can add xAI credentials by navigating to the Providers page under Settings.
1

Configure Provider Name

Click on the plus (+) icon.Configure xAI provider name
  • Enter a unique Name for your xAI configuration (e.g., “xAI-Dev”).
  • This name will be used as a prefix in the model dropdown to help you identify which provider configuration to use. The name appears as “xAI (your-name)::” before each model name.
  • It makes it easy to distinguish between multiple xAI accounts like “xAI-dev” and “xAI-prod” setups.
2

Enter API Credentials

Add your API key in the required field.Enter xAI API credentials
  • Optionally, you can specify a custom Base URL if needed (defaults to https://api.x.ai/v1 if left blank).
  • You can also add a Description to help identify the purpose of these credentials for future reference.
3

Create

Click Create to save your provider configuration.