Skip to main content
Your xAI Console user needs the Management Keys Read + Write permission to create a management key. If you do not have it, ask your team administrator.

Create a management key

A management key is separate from an API key. It works only with the Management API, and its permissions decide which actions work.

1

Create the key

Sign in to the xAI Console and open Settings > Management Keys.

  • Select Create Management Key.
  • Choose the permissions for the actions you will use, such as API keys, billing, collections and audit events.
2

Copy the key

The key is shown once.

  • Copy the Management Key across.
3

Find the team ID

Leave Team ID empty when the key belongs to one team. A key that belongs to an organization needs it.

  • Open Settings > Team in the xAI Console.
  • Copy the Team ID across.
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.