Personal API keys and connections
Every AI connection belongs to one person: a personal API key you created, or an app you signed in to. You decide what each one may do, and you can stop any of them instantly.
Keys or sign-in?
- Personal API keys
- For Claude Code, the Gemini CLI, scripts and any client that sends a bearer key. You create the key in DataViz and paste it into the client.
- Connected AI clients
- For Claude, ChatGPT and Gemini: you sign in to DataViz from the app and approve it. No key to copy.
Create a personal API key
Start a key
In Settings → AI Connectors (MCP), under Personal API keys, choose New key.
Name it
Name it after where it's used, such as "Claude Code on my laptop", so you know which one to revoke later.
Choose how long it lasts
Under Expires after, choose 7, 30, 60 or 90 days. Your workspace sets the longest allowed.
Choose what it may do
Pick the Access level (Read, Write, or Admin where allowed) and the Toolsets. Options your workspace or role doesn't allow are shown as turned off.
Create and copy
Choose Create key. The key, starting dvz_pat_, is shown once with a ready-to-run command. Copy it now; DataViz only keeps a fingerprint, so it can't show it again.
Your keys
- Name and prefix
- The name you gave it and the first characters of the key, to tell keys apart.
- Access and toolsets
- What the key may do.
- Last used
- When a client last used it. A key you don't recognize as used recently is a candidate for revoking.
- Expires
- When it stops working. Create a new key before then.
- Revoke
- Stops the key immediately. Clients using it get an error on their next call.
Connected AI clients
Claude, ChatGPT and Gemini sessions you approved are listed under Connected AI clients, with their toolsets and when they were last used. Disconnect signs the client out at once; to use it again, connect from the app.
A connected app stays signed in for the number of days your workspace allows, then asks you to sign in again.
For admins: every connection
Members with Manage AI Connectors see All connections further down the tab: every member's keys and connected apps. Revoke any of them, for example when someone leaves: revoke their connections here as well as deactivating them. See Every connection in the workspace.
Keeping keys safe
- Treat a key like a password: don't paste it into chats, tickets or code you commit.
- Use one key per machine or tool, so revoking one doesn't break the others.
- Choose the shortest expiry that's practical.
- If a key may have leaked, revoke it first, then create a new one.