Learn
Guides
Step-by-step explanations, from first steps to production. Every guide starts in plain English.
2 of 46 guides
StarterGrokMembers
Getting Started with Grok
What Grok is, how it differs from other assistants, how to use it for current-events questions without being fooled, and how to reach it from code.
5 min read
BuilderGrokMembersxAI (Grok) API Basics - Keys, a First Request, Streaming and Errors
Use the xAI API with a familiar client library, a key stored safely in the environment, a first request, streaming and calm error handling.
6 min read