Skip to main content

xAI

With xAI modules in Make, you can create completions and make API calls in your xAI account.

To use the xAI modules, you must have a xAI account. You can create an account at x.ai.

Refer to the xAI API documentation for a list of available endpoints.

Note

xAI is not available in certain regions at the moment. For a list of supported regions, please visit the xAI website.

Connect xAI to Make

To establish the connection, you must:

Obtain your API key in xAI

To obtain your API key from your xAI account:

  1. Log in to your xAI Console.

  2. In the left sidebar, click API keys.

  3. Click Create API Key.

  4. Enter a name for the key, select the endpoints and the models.

  5. Click Save.

  6. Copy the API key value shown and store it in a safe place.

You will use this value in the API Key field in Make.

Establish the connection with xAI in Make

To establish the connection in Make:

  1. Log in to your Make account, add a xAI module to your scenario, and click Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. In the API Key field, enter the API key copied above.

  4. Click Save.

  5. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more xAI modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

Build xAI Scenarios

After connecting the app, you can perform the following actions:

Actions
  • Create a Completion

  • Make an API Call