Connect Grok to your AI agent
Grok is xAI's API platform for text, image, video, embedding, file, search, and voice capabilities.
We set up the connection using your own Grok account, with keys you control, and keep it running. Your agent picks it up and starts doing the work.
What your agent can do in Grok
Each one is a real action the agent can take on its own, the same things a person clicking around Grok could do. Read-only by default; write actions are confirmed against your policy.
- Create Embeddings Create vector embeddings for one or more text inputs with an xAI embedding model.
- Create Response Generate a bounded, non-streaming Grok response from text or structured multimodal input, with optional reasoning, search, and function or web-search tools. Responses are ephemeral by default; set store=true to retain o…
- Generate Image Generate one or more images from a text prompt with an xAI image-generation model.
- Generate Video Start asynchronous xAI video generation from a text prompt, optionally conditioned on an image, and return a request ID for status checks.
- Get API Key Info Inspect the connected xAI API key's identity, wildcard or granular ACLs, and key or team blocking state.
- Get Current Account Verify the connected xAI credential and return the caller, team, zero-data-retention status, and key blocking state.
- Get Video Check an asynchronous xAI video request. Returns pending while generation is in progress, the video and usage when done, or the structured generation error when failed.
- List Models List models available to the connected xAI key, including model IDs and published pricing metadata needed to choose a model for other tools.
How we connect it
- 1
Connect your account
You create a key in Grok, a key you create and control, and paste it in once. It lives in a secrets store on your server, not with us.
- 2
Set the guardrails
Read-only by default. You choose which write actions the agent may take, and anything outside that policy gets confirmed with you first.
- 3
We keep it running
Health checks on every connection, updates handled for you, and we watch the first week of activity to make sure the work lands.
FAQ
Grok questions, answered.
Ready to put Grok to work?
Tell us what your team runs on. We set up the connection, secure it, and your agent takes it from there.
All product names, logos, and brands are property of their respective owners; used for identification only. ZeroToClaw is not affiliated with or endorsed by Grok.