View Categories

How to Set Up the X.ai API Key

This article will guide you through the process of connecting your X.ai account with AI Content Labs.

Step 1: Log in to your X.ai account

Go to the X.ai login page: https://x.ai/. If you don’t have an account yet, you can create one using the same link.

X.ai Homepage

Step 2: Get your X.ai API key

  1. Go to the API keys section: https://console.x.ai/.
  2. Click on “Create API Key.”
  3. In the pop-up window, assign a name to your key.
  4. Click on “Next.”
  5. Copy the API key shown. Important: Save this key securely, as you won’t be able to view it again.
  6. Click on “Complete.”

Accessing the API Keys section in X.ai
Creating an API Key in X.ai
Naming the API Key in X.ai

Step 3: Enter the API key into AI Content Labs

  1. Log in to your AI Content Labs account: https://app.aicontentlabs.com
  2. In the user menu (bottom left), select “Set Up API Keys.”
  3. Locate the X.ai card and click on “Connect.”
  4. Paste the API key you copied into the corresponding field.
  5. Click on “Save.”
  6. You can find the compatible X.ai models in AI Content Labs here.

Setting Up API Keys
Integration Cards in AI Content Labs
Entering the X.ai API Key in AI Content Labs

Once you complete these steps, you will have successfully integrated X.ai with AI Content Labs. Contact technical support if you need any assistance.