WEBVTT

1
00:00:00.000 --> 00:00:14.600
Here's how to connect xAI to CostCompass. About a minute. xAI's billing needs two things — your Team ID, and a Management Key with billing access. Not your regular xai- API key.

2
00:00:14.800 --> 00:00:20.100
In the xAI console, open your team's settings from the gear at the bottom of the sidebar.

3
00:00:20.300 --> 00:00:21.933
Under Team, open General.

4
00:00:22.900 --> 00:00:29.033
Copy your Team ID — the non-secret identifier for your team. You'll paste this into CostCompass.

5
00:00:29.233 --> 00:00:38.033
Back in team settings, open Management Keys. This is separate from the API Keys page, which only makes inference keys with no billing access.

6
00:00:38.233 --> 00:00:39.933
Click Create management key.

7
00:00:40.833 --> 00:00:47.533
Name it CostCompass. Under Access, set Billing to Read only — that's all a spend tracker needs. Then Save.

8
00:00:47.733 --> 00:00:51.600
Copy the Management Key now — xAI shows it only once.

9
00:00:51.400 --> 00:01:03.500
In CostCompass, open Providers, pick xAI, enter your Team ID and paste the Management Key. Refresh, and your xAI spend flows in with the rest of your stack.
